Skip to content

Commit

Permalink
Merge pull request #59 from anirbanmu/node-20
Browse files Browse the repository at this point in the history
Upgrade to Node 20 (latest LTS)
  • Loading branch information
anirbanmu authored Mar 16, 2024
2 parents 03c2979 + ad4a8c1 commit 6c8fcd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npm run build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/node:18-alpine AS base-image
FROM docker.io/library/node:20-alpine AS base-image
RUN apk update && apk upgrade && rm -rf /var/cache/apk/* && npm install -g npm

# Build svelte app into /src/public/build & server.js
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": "^18.14"
"node": "^20.5"
},
"scripts": {
"build": "rollup -c && npm run build-server",
Expand Down

0 comments on commit 6c8fcd9

Please sign in to comment.