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/
This commit is contained in:
Levi Buzolic
2026-03-27 23:20:13 +11:00
committed by GitHub
parent 930b3281ba
commit d5f3979a5f
4 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: '20'
node-version: '24'
- run: npm run build-dist
- name: Check if build left artifacts
run: git diff --exit-code --ignore-space-at-eol
@@ -73,7 +73,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: '20'
node-version: '24'
- run: npm ci
- run: npm test
env:
@@ -99,7 +99,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: '20'
node-version: '24'
- run: npm install --production
- run: npm test
env:
@@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-node@v6.3.0
with:
node-version: '20'
node-version: '24'
- run: npm ci
- run: npm test
env:
+1 -1
View File
@@ -98,5 +98,5 @@ outputs:
description: The commit unique id of the execution action version
runs:
using: node20
using: node24
main: dist/index.js
+1 -1
View File
@@ -27,7 +27,7 @@
"yarn": "1.22.22"
},
"engines": {
"node": ">=20"
"node": ">=24"
}
},
"node_modules/@actions/core": {
+1 -1
View File
@@ -37,6 +37,6 @@
"yarn": "1.22.22"
},
"engines": {
"node": ">=20"
"node": ">=24"
}
}