Repository navigation
build: update action runtime to Node.js 24 - #176
Conversation
GitHub Actions is deprecating Node.js 20, with Node 24 becoming the default runner on June 2, 2026. This updates the action to run on the Node 24 runtime. Changes: - action.yml: node20 → node24 - esbuild target: node20 → node24 - @types/node: ^20 → ^24 - @actions/* deps bumped to their Node 24-compatible versions (highest CJS-compatible releases, avoiding the ESM-only latest) The @actions/* bumps also resolve the punycode deprecation warning (DEP0040) that Node 24 triggers with the older dependency chain. Closes #172 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (2)
WalkthroughUpdated GitHub Actions runner image and build script from Node.js 20 to 24. Upgraded Changes
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
GitHub Actions is deprecating Node.js 20, with Node 24 becoming the default runner on June 2, 2026. This updates the action to run on the Node 24 runtime. Changes: - action.yml: node20 → node24 - esbuild target: node20 → node24 - @types/node: ^20 → ^24 - @actions/* deps bumped to their Node 24-compatible versions (highest CJS-compatible releases, avoiding the ESM-only latest) The @actions/* bumps also resolve the punycode deprecation warning (DEP0040) that Node 24 triggers with the older dependency chain. Co-authored-by: Adam White <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
GitHub Actions is deprecating Node.js 20, with Node 24 becoming the default runner on June 2, 2026. This updates the action to run on the Node 24 runtime. Changes: - action.yml: node20 → node24 - esbuild target: node20 → node24 - @types/node: ^20 → ^24 - @actions/* deps bumped to their Node 24-compatible versions (highest CJS-compatible releases, avoiding the ESM-only latest) The @actions/* bumps also resolve the punycode deprecation warning (DEP0040) that Node 24 triggers with the older dependency chain. Co-authored-by: Adam White <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
|
I'm still getting this warning
Even though I'm using - name: Setup Bun
uses: oven-sh/setup-bun@v2 |
can't reproduce that - https://github.com/oven-sh/setup-bun/actions/runs/23085358972 |
actions/checkout@v4 still targets Node 20, which GitHub Actions now force-runs on Node 24 with a deprecation annotation. v5 through v7 all ship runs.using: node24 natively (checked action.yml on each tag); v7.0.1 is the current release. oven-sh/setup-bun@v2 is unaffected: it's a floating major tag that already resolves to v2.2.0, which moved to node24 in PR oven-sh/setup-bun#176.
GitHub Actions is deprecating Node.js 20, with Node 24 becoming the default
runner on June 2, 2026. This updates setup-bun to run on the Node 24 runtime.
Changes:
Notes:
@actions/*packages were pinned to the highest CJS-compatible versions (core@2, cache@5, tool-cache@3, etc.) since esbuild outputs CJS. The next majors (core@3, cache@6) are ESM-only.The @actions/* bumps also resolve the punycode deprecation warning (DEP0040) that Node 24 triggers with the older dependency chain.
Closes #172
Related: #173, #174, #175
Test plan
bun test— 56 pass, 6 pre-existing fail (same as main)bun run build— reproducible (identical checksums on rebuild)bun run format— all files unchanged