Upgrade action to use node24 (#1325)
Some checks are pending
Check dist / Check dist/ (push) Waiting to run
e2e-cache / Test yarn 1 (Node 18, windows-latest) (push) Waiting to run
Basic validation / Basic validation (push) Waiting to run
e2e-cache / Test npm (Node 18, macos-13) (push) Waiting to run
e2e-cache / Test npm (Node 18, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 18, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 18, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 20, macos-13) (push) Waiting to run
e2e-cache / Test npm (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 20, windows-latest) (push) Waiting to run
versions / check-latest (18, macos-13) (push) Waiting to run
versions / check-latest (18, macos-latest) (push) Waiting to run
versions / check-latest (18, ubuntu-latest) (push) Waiting to run
versions / check-latest (18, windows-latest) (push) Waiting to run
versions / check-latest (20, macos-13) (push) Waiting to run
versions / check-latest (20, macos-latest) (push) Waiting to run
versions / check-latest (20, ubuntu-latest) (push) Waiting to run
versions / check-latest (20, windows-latest) (push) Waiting to run
versions / check-latest (22, macos-13) (push) Waiting to run
versions / check-latest (22, macos-latest) (push) Waiting to run
versions / check-latest (22, ubuntu-latest) (push) Waiting to run
CodeQL analysis / CodeQL analysis (push) Waiting to run
e2e-cache / Test npm (Node 22, macos-13) (push) Waiting to run
e2e-cache / Test npm (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, macos-13) (push) Waiting to run
e2e-cache / Test npm (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test npm (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 18, macos-13) (push) Waiting to run
e2e-cache / Test pnpm (Node 18, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 18, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 18, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, macos-13) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, macos-13) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, macos-13) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test pnpm (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 18, macos-13) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 18, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 18, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, macos-13) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, macos-13) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 1 (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 18, macos-13) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 18, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 18, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 18, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, macos-13) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, macos-13) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 22, windows-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, macos-13) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, macos-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, ubuntu-latest) (push) Waiting to run
e2e-cache / Test yarn 3 (Node 24, windows-latest) (push) Waiting to run
e2e-cache / Test yarn subprojects (push) Waiting to run
e2e-cache / Test yarn subprojects all locally managed (push) Waiting to run
e2e-cache / Test yarn subprojects some locally managed (push) Waiting to run
e2e-cache / Test yarn subprojects managed by git (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 18, macos-13) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 18, macos-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 18, ubuntu-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 18, windows-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 20, macos-13) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 20, macos-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 20, ubuntu-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 20, windows-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 22, macos-13) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 22, macos-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 22, ubuntu-latest) (push) Waiting to run
e2e-cache / Test enabling cache if package manager field is present (Node 22, windows-latest) (push) Waiting to run
Licensed / Licensed (push) Waiting to run
proxy / test-proxy (push) Waiting to run
proxy / test-bypass-proxy (push) Waiting to run
versions / local-cache (18, macos-13) (push) Waiting to run
versions / local-cache (18, macos-latest) (push) Waiting to run
versions / local-cache (18, ubuntu-latest) (push) Waiting to run
versions / local-cache (18, windows-latest) (push) Waiting to run
versions / local-cache (20, macos-13) (push) Waiting to run
versions / local-cache (20, macos-latest) (push) Waiting to run
versions / local-cache (20, ubuntu-latest) (push) Waiting to run
versions / local-cache (20, windows-latest) (push) Waiting to run
versions / local-cache (22, macos-13) (push) Waiting to run
versions / local-cache (22, macos-latest) (push) Waiting to run
versions / local-cache (22, ubuntu-latest) (push) Waiting to run
versions / local-cache (22, windows-latest) (push) Waiting to run
versions / local-cache (24, macos-13) (push) Waiting to run
versions / local-cache (24, macos-latest) (push) Waiting to run
versions / local-cache (24, ubuntu-latest) (push) Waiting to run
versions / local-cache (24, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/*, macos-13) (push) Waiting to run
versions / lts-syntax (lts/*, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/*, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/-1, macos-13) (push) Waiting to run
versions / lts-syntax (lts/-1, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/-1, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, macos-13) (push) Waiting to run
versions / lts-syntax (lts/dubnium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/dubnium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, macos-13) (push) Waiting to run
versions / lts-syntax (lts/erbium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/erbium, windows-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, macos-13) (push) Waiting to run
versions / lts-syntax (lts/fermium, ubuntu-latest) (push) Waiting to run
versions / lts-syntax (lts/fermium, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, macos-13) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20-v8-canary, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, macos-13) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary, windows-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-13) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, macos-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, ubuntu-latest) (push) Waiting to run
versions / v8-canary-syntax (20.0.0-v8-canary20221101e50e45c9f8, windows-latest) (push) Waiting to run
versions / nightly-syntax (18.0.0-nightly, macos-13) (push) Waiting to run
versions / nightly-syntax (18.0.0-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (18.0.0-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (18.0.0-nightly, windows-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, macos-13) (push) Waiting to run
versions / nightly-syntax (20-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (20-nightly, windows-latest) (push) Waiting to run
versions / nightly-syntax (21-nightly, macos-13) (push) Waiting to run
versions / nightly-syntax (21-nightly, macos-latest) (push) Waiting to run
versions / nightly-syntax (21-nightly, ubuntu-latest) (push) Waiting to run
versions / nightly-syntax (21-nightly, windows-latest) (push) Waiting to run
versions / rc-syntax (18.0.0-rc.2, macos-13) (push) Waiting to run
versions / rc-syntax (18.0.0-rc.2, macos-latest) (push) Waiting to run
versions / rc-syntax (18.0.0-rc.2, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (18.0.0-rc.2, windows-latest) (push) Waiting to run
versions / rc-syntax (19.0.0-rc.0, macos-13) (push) Waiting to run
versions / rc-syntax (19.0.0-rc.0, macos-latest) (push) Waiting to run
versions / rc-syntax (19.0.0-rc.0, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (19.0.0-rc.0, windows-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, macos-13) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, macos-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, ubuntu-latest) (push) Waiting to run
versions / rc-syntax (20.0.0-rc.1, windows-latest) (push) Waiting to run
versions / manifest (18.20.0, macos-13) (push) Waiting to run
versions / manifest (18.20.0, macos-latest) (push) Waiting to run
versions / manifest (18.20.0, ubuntu-latest) (push) Waiting to run
versions / manifest (18.20.0, windows-latest) (push) Waiting to run
versions / manifest (20.10.0, macos-13) (push) Waiting to run
versions / manifest (20.10.0, macos-latest) (push) Waiting to run
versions / manifest (20.10.0, ubuntu-latest) (push) Waiting to run
versions / manifest (20.10.0, windows-latest) (push) Waiting to run
versions / manifest (22.0.0, macos-13) (push) Waiting to run
versions / manifest (22.0.0, macos-latest) (push) Waiting to run
versions / manifest (22.0.0, ubuntu-latest) (push) Waiting to run
versions / manifest (22.0.0, windows-latest) (push) Waiting to run
versions / check-latest (22, windows-latest) (push) Waiting to run
versions / check-latest (24, macos-13) (push) Waiting to run
versions / check-latest (24, macos-latest) (push) Waiting to run
versions / check-latest (24, ubuntu-latest) (push) Waiting to run
versions / check-latest (24, windows-latest) (push) Waiting to run
versions / version-file (.nvmrc, macos-13) (push) Waiting to run
versions / version-file (.nvmrc, macos-latest) (push) Waiting to run
versions / version-file (.nvmrc, ubuntu-latest) (push) Waiting to run
versions / version-file (.nvmrc, windows-latest) (push) Waiting to run
versions / version-file (.tool-versions, macos-13) (push) Waiting to run
versions / version-file (.tool-versions, macos-latest) (push) Waiting to run
versions / version-file (.tool-versions, ubuntu-latest) (push) Waiting to run
versions / version-file (.tool-versions, windows-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, macos-13) (push) Waiting to run
versions / version-file (.tool-versions-node, macos-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, ubuntu-latest) (push) Waiting to run
versions / version-file (.tool-versions-node, windows-latest) (push) Waiting to run
versions / version-file (package.json, macos-13) (push) Waiting to run
versions / version-file (package.json, macos-latest) (push) Waiting to run
versions / version-file (package.json, ubuntu-latest) (push) Waiting to run
versions / version-file (package.json, windows-latest) (push) Waiting to run
versions / version-file-volta (macos-13) (push) Waiting to run
versions / version-file-volta (macos-latest) (push) Waiting to run
versions / version-file-volta (ubuntu-latest) (push) Waiting to run
versions / version-file-volta (windows-latest) (push) Waiting to run
versions / version-file-volta-extends (macos-13) (push) Waiting to run
versions / version-file-volta-extends (macos-latest) (push) Waiting to run
versions / version-file-volta-extends (ubuntu-latest) (push) Waiting to run
versions / version-file-volta-extends (windows-latest) (push) Waiting to run
versions / node-dist (17, macos-13) (push) Waiting to run
versions / node-dist (17, macos-latest) (push) Waiting to run
versions / node-dist (17, ubuntu-latest) (push) Waiting to run
versions / node-dist (17, windows-latest) (push) Waiting to run
versions / node-dist (19, macos-13) (push) Waiting to run
versions / node-dist (19, macos-latest) (push) Waiting to run
versions / node-dist (19, ubuntu-latest) (push) Waiting to run
versions / node-dist (19, windows-latest) (push) Waiting to run
versions / old-versions (macos-13) (push) Waiting to run
versions / old-versions (ubuntu-latest) (push) Waiting to run
versions / old-versions (windows-latest) (push) Waiting to run
versions / arch (push) Waiting to run
versions / node-latest-aliases (current, macos-13) (push) Waiting to run
versions / node-latest-aliases (current, macos-latest) (push) Waiting to run
versions / node-latest-aliases (current, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (current, windows-latest) (push) Waiting to run
versions / node-latest-aliases (latest, macos-13) (push) Waiting to run
versions / node-latest-aliases (latest, macos-latest) (push) Waiting to run
versions / node-latest-aliases (latest, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (latest, windows-latest) (push) Waiting to run
versions / node-latest-aliases (node, macos-13) (push) Waiting to run
versions / node-latest-aliases (node, macos-latest) (push) Waiting to run
versions / node-latest-aliases (node, ubuntu-latest) (push) Waiting to run
versions / node-latest-aliases (node, windows-latest) (push) Waiting to run

* Change Node.js version to 24

Update Node.js version from 20 to 24 in action.yml

* update and vulnerability fixes

* update node version check

* update licences

* node version check update

* update version for test

* node version

* update node version to 24.0.0 in tool-versions and package-volta.json

* node 24

* update to 24

* update to specify engines

* check failures fix

* update package-lock.json

* licensed update

* check failure fix

* documentation update

---------

Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
This commit is contained in:
Salman Chishti 2025-09-03 02:31:16 +01:00 committed by GitHub
parent d7a11313b5
commit b7234cc9fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 104 additions and 89 deletions

25
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "setup-node",
"version": "4.0.0",
"version": "5.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "setup-node",
"version": "4.0.0",
"version": "5.0.0",
"license": "MIT",
"dependencies": {
"@actions/cache": "^4.0.3",
@ -22,7 +22,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.11.25",
"@types/node": "^24.1.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
@ -37,6 +37,9 @@
"prettier": "^2.8.4",
"ts-jest": "^29.1.2",
"typescript": "^5.4.2"
},
"engines": {
"node": ">=24.0.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@ -1780,11 +1783,12 @@
"dev": true
},
"node_modules/@types/node": {
"version": "20.11.25",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.25.tgz",
"integrity": "sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==",
"version": "24.1.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz",
"integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==",
"license": "MIT",
"dependencies": {
"undici-types": "~5.26.4"
"undici-types": "~7.8.0"
}
},
"node_modules/@types/node-fetch": {
@ -5552,9 +5556,10 @@
}
},
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
"version": "7.8.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz",
"integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",
"license": "MIT"
},
"node_modules/universal-user-agent": {
"version": "6.0.1",