Skip to content

chore: update runtime to Node 24#248

Open
rickpastoor wants to merge 1 commit into
nhedger:mainfrom
rickpastoor:update-runtime-node24
Open

chore: update runtime to Node 24#248
rickpastoor wants to merge 1 commit into
nhedger:mainfrom
rickpastoor:update-runtime-node24

Conversation

@rickpastoor

Copy link
Copy Markdown

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 node20 action to run on Node 24 anyway. This bumps the action's declared runtime to node24 so 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/node 20.19.3924.12.2 (align types with runtime)
  • bun.lockb: regenerated for the @types/node bump
  • dist/index.mjs: rebuilt via bun run build — the large diff is bundler output reshuffling (rolldown emits slightly different helper names / hoists imports differently between versions), not substantive code changes

CI'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

  • CI green on this PR (build + biome + cross-OS test matrix)
  • Maintainer cuts a new v4.x release once merged so consumers can upgrade

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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant