Skip to content

Commit 91cb78e

Browse files
authored
⬆️ chore: Upgrade to Node 24 (#88)
Updates Node version to 24 in Dockerfile, GitHub Actions, and package.json. Removes the devcontainer.json file.
1 parent 935c345 commit 91cb78e

File tree

6 files changed

+20
-24
lines changed

6 files changed

+20
-24
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v5
33-
- {uses: actions/setup-node@v4, with: {node-version: 20, cache: 'npm'}}
33+
- {uses: actions/setup-node@v4, with: {node-version-file: ./package.json, cache: 'npm'}}
3434
- run: npm install
3535
- run: npm run lint
3636

@@ -41,7 +41,7 @@ jobs:
4141
dist-changed: ${{ steps.state.outputs.changed }}
4242
steps:
4343
- uses: actions/checkout@v5
44-
- {uses: actions/setup-node@v4, with: {node-version: 20, cache: 'npm'}}
44+
- {uses: actions/setup-node@v4, with: {node-version-file: ./package.json, cache: 'npm'}}
4545
- run: npm install
4646
- run: npm run build
4747
- uses: actions/upload-artifact@v5

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.DEFAULT_GOAL := build
55
.MAIN := build
66

7-
NODE_IMAGE = node:20-alpine
7+
NODE_IMAGE = node:24-alpine
88
RUN_ARGS = --rm -v "$(shell pwd):/src:rw" \
99
-t --workdir "/src" \
1010
-u "$(shell id -u):$(shell id -g)" \

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ outputs:
5757
be rejected. Available for builds on branches and tags (always non-empty)
5858
5959
runs:
60-
using: node20
60+
using: node24
6161
main: dist/index.js
6262

6363
branding:

package-lock.json

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
},
4646
"rules": {}
4747
},
48+
"volta": {
49+
"node": "24"
50+
},
4851
"engines": {
49-
"node": "20"
52+
"node": ">=24"
5053
}
5154
}

0 commit comments

Comments
 (0)