Skip to content

Commit d5f3979

Browse files
authored
Support Node 24 runtime (#426)
Update the action runtime, engine constraint, and CI workflow pins from Node 20 to Node 24 per GitHub's guidance on the deprecation of Node 20 on GitHub Actions runners: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent 930b328 commit d5f3979

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/checkout@v6.0.2
4949
- uses: actions/setup-node@v6.3.0
5050
with:
51-
node-version: '20'
51+
node-version: '24'
5252
- run: npm run build-dist
5353
- name: Check if build left artifacts
5454
run: git diff --exit-code --ignore-space-at-eol
@@ -73,7 +73,7 @@ jobs:
7373
- uses: actions/checkout@v6.0.2
7474
- uses: actions/setup-node@v6.3.0
7575
with:
76-
node-version: '20'
76+
node-version: '24'
7777
- run: npm ci
7878
- run: npm test
7979
env:
@@ -99,7 +99,7 @@ jobs:
9999
- uses: actions/checkout@v6.0.2
100100
- uses: actions/setup-node@v6.3.0
101101
with:
102-
node-version: '20'
102+
node-version: '24'
103103
- run: npm install --production
104104
- run: npm test
105105
env:
@@ -125,7 +125,7 @@ jobs:
125125
- uses: actions/checkout@v6.0.2
126126
- uses: actions/setup-node@v6.3.0
127127
with:
128-
node-version: '20'
128+
node-version: '24'
129129
- run: npm ci
130130
- run: npm test
131131
env:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ outputs:
9898
description: The commit unique id of the execution action version
9999

100100
runs:
101-
using: node20
101+
using: node24
102102
main: dist/index.js

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
"yarn": "1.22.22"
3838
},
3939
"engines": {
40-
"node": ">=20"
40+
"node": ">=24"
4141
}
4242
}

0 commit comments

Comments
 (0)