Upgrade Node.js runtime to v24#410
Conversation
|
@JohnTitor thank you! |
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "wrangler-action": major | |||
There was a problem hiding this comment.
This can be a patch since this release is the current active version of Node:
See https://developers.cloudflare.com/workers/wrangler/install-and-update/ for supported versions (which technically includes 20, but this should target the current lts that's 25)
| "wrangler-action": major | |
| "wrangler-action": patch |
There was a problem hiding this comment.
@ericclemmons Well, note that it's a technically breaking change on GitHub Actions as it bumps minimum runner version requirement. It's not something about Node.js itself or wrangler at all.
In GHA, such changes are customarily treated as breaking changes, e.g. https://github.com/actions/checkout/releases/tag/v5.0.0
There was a problem hiding this comment.
But yeah, it's up to maintainers to decide whether treating it as breaking or not. I'll follow your way.
This version should target the current active LTS (24) for wrangler-acton's glue code. `npx wrangler` will execute what's in `$PATH`.
The Node.js v20 runtime has been deprecated: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
This suppresses the warning on users.