fix: run action on the Node 24 runtime - #8
Merged
Merged
Conversation
The action declared runs.using: node20, which now emits a deprecation warning to every consumer. Move it to node24. The bundled dist/index.js runs unchanged on node24. Claude-Session: https://claude.ai/code/session_011T9ASy4VmRoYrnuTsLd9oU
|
🎉 This PR is included in version 1.4.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
The action declared
runs.using: node20, so every consumer on@v1sees the "Node.js 20 is deprecated" warning. This moves the runtime tonode24.action.yml:runs.usingnode20->node24.dist/index.jsis plain JavaScript and runs unchanged on Node 24; no rebuild or dependency change needed.Merging cuts a patch release and moves the floating
v1tag, so consumers pick up the fix automatically on their next run. Requires the standard Node 24 runner floor (Actions Runner >= v2.327.1), which GitHub-hosted runners already meet.https://claude.ai/code/session_011T9ASy4VmRoYrnuTsLd9oU
Note
Low Risk
Single metadata change to the action runtime with no code or dependency updates; main caveat is consumers on very old self-hosted runners below the Node 24 floor.
Overview
Runtime bump:
action.ymlchangesruns.usingfromnode20tonode24, so workflows using this action stop hitting GitHub’s Node 20 deprecation warning.No changes to
dist/index.js, dependencies, or build scripts—the bundled entrypoint is unchanged and is expected to run as-is on Node 24. Callers need runners that support the Node 24 action runtime (GitHub-hosted runners already do).Reviewed by Cursor Bugbot for commit 8e7575c. Bugbot is set up for automated code reviews on this repo. Configure here.