Skip to content

Commit fd1707a

Browse files
civilizeddevclaude
andauthored
Upgrade Node.js runtime from 20 to 24 (#1086)
Node.js 20 actions will be forced to run on Node.js 24 starting June 2, 2026. Migrate now to avoid the forced upgrade. - action.yml: node20 → node24 - package.json: esbuild target node20 → node24 - release.yml: nvm lts/gallium (Node 16) → nvm 24 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0edcbb2 commit fd1707a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Build
3939
shell: bash -l {0}
4040
run: |
41-
nvm use lts/gallium
41+
nvm use 24
4242
npm install
4343
npm run all
4444

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ outputs:
4141
cs-version:
4242
description: 'Version of the installed Coursier'
4343
runs:
44-
using: 'node20'
44+
using: 'node24'
4545
main: 'dist/index.js'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"format": "prettier --write **/*.ts",
1010
"format-check": "prettier --check **/*.ts",
1111
"lint": "eslint src/**/*.ts",
12-
"package": "esbuild src/main.ts --bundle --platform=node --target=node20 --outfile=dist/index.js --sourcemap",
12+
"package": "esbuild src/main.ts --bundle --platform=node --target=node24 --outfile=dist/index.js --sourcemap",
1313
"all": "npm run build && npm run format-check && npm run lint && npm run package"
1414
},
1515
"repository": {

0 commit comments

Comments
 (0)