chore: update runtime to Node 24#248
Open
rickpastoor wants to merge 1 commit into
Open
Conversation
Node 20 GitHub Actions runtime is deprecated and will be removed on September 16th, 2026. This bumps the action's declared runtime to node24, aligns @types/node with the runtime, and rebuilds the bundle. See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GitHub deprecated the Node 20 Actions runtime on 2025-09-19 — Node 20 will be removed from runners on 2026-09-16, and starting 2026-06-02 the runner will force any
node20action to run on Node 24 anyway. This bumps the action's declared runtime tonode24so consumers stop seeing the deprecation warning and the action keeps working past the removal date.Changes:
action.yaml:using: "node20"→using: "node24"package.json:@types/node20.19.39→24.12.2(align types with runtime)bun.lockb: regenerated for the@types/nodebumpdist/index.mjs: rebuilt viabun run build— the large diff is bundler output reshuffling (rolldown emits slightly different helper names / hoists imports differently between versions), not substantive code changesCI's build/test jobs are already on Node 24, so this aligns the action runtime with what's already being tested.
Reference: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test plan
v4.xrelease once merged so consumers can upgrade