Skip to content

Commit

Permalink
letr's try node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
bandinopla committed Sep 22, 2024
1 parent e92835e commit 7f45add
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"postCreateCommand": "cp .env.example .env && npm install && npm run seed-db",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version":18
"version":20
}
},
"customizations": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.1'

services:
app:
image: mcr.microsoft.com/devcontainers/javascript-node:0-18
image: mcr.microsoft.com/devcontainers/javascript-node:0-20
volumes:
- ..:/workspace:cached
command: "tail -f /dev/null"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
password: ${{ secrets.PASS }}
port: ${{ secrets.SSH_PORT }}
script: |
source /home/${{ secrets.USER }}/nodevenv/wxr-server-staging/18/bin/activate
source /home/${{ secrets.USER }}/nodevenv/wxr-server-staging/20/bin/activate
cd /home/${{ secrets.USER }}/wxr-server-staging
npm ci --production
nohup kill $(ps aux | grep "wxr-server-staging" | awk '{print $2}') 2> /dev/null || echo "It was not running... anyway..." &

0 comments on commit 7f45add

Please sign in to comment.