feat!: upgrade GitHub Actions runtime from node20 to node24#61
Conversation
BREAKING CHANGE: Updated GitHub Actions runtime from node20 to node24. Bumped major version to v2.
There was a problem hiding this comment.
Pull request overview
Upgrades this Node.js-based GitHub Action template to target a newer Node runtime, updating the action runtime, CI environment, documentation, and package engine requirements accordingly.
Changes:
- Bump package version to
2.0.0and setengines.nodeto>=24 - Update
action.ymlruntime and CI workflow Node version to24 - Refresh docs to reference
@v2and add a “What’s new” section
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
action.yml |
Updates runs.using to the new Node runtime. |
package.json |
Bumps major version and updates Node engine requirement. |
package-lock.json |
Syncs lockfile metadata (version/engines) with package.json. |
.github/workflows/ci.yml |
Runs CI on the new Node version. |
.github/copilot-instructions.md |
Updates documented runtime reference to match action.yml. |
README.md |
Updates usage example to @v2 and adds release-notes pointer. |
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Upgrades this Node.js GitHub Action template to use the newer node24 runtime, aligning the Action runtime, package engine requirements, and CI environment, and documenting the major-version breaking change for consumers.
Changes:
- Switched the Action runtime (
runs.using) and CI Node version tonode24 - Updated
package.jsontov2.0.0and raisedengines.nodeto>=24(with matchingpackage-lock.jsonsync) - Updated documentation/instructions to reference
node24and@v2usage
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
action.yml |
Updates GitHub Actions runtime from node20 to node24. |
package.json |
Major version bump to 2.0.0 and raises Node engine requirement to >=24. |
package-lock.json |
Syncs lockfile metadata to the new package version/engine constraint. |
.github/workflows/ci.yml |
Runs CI on Node 24 to match the Action runtime/engine requirement. |
.github/copilot-instructions.md |
Updates documented runtime reference to node24 for consistency guidance. |
README.md |
Updates example usage to @v2 and adds a release-notes pointer. |
You can also share your feedback on Copilot code review. Take the survey.
33c8ba6 to
8686596
Compare
📦 Draft Release CreatedA draft release v2.0.0 has been created for this PR. Next Steps
|
Summary
Upgrade the GitHub Actions runtime from
node20tonode24sincenode20is now deprecated.Changes
runs.usingfromnode20tonode241.0.9to2.0.0, updatedengines.nodefrom>=20to>=24node-versionfrom20to24@v1to@v2, added "What's new" sectionnode20tonode24v1→v2— users must update their workflow references from@v1to@v2