GeezerVison is showing github.com — Upgrade GitHub Actions for Node 24 compatibility by salmanmkc · Pull Request #1133 · google/clasp
Conversation
salmanmkc
commented
Mar 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
You may currently be seeing a warning like this in your workflow runs:
Node.js 20 actions are deprecated. The following actions are running on Node.js 20
and may not work as expected: actions/checkout@v2, actions/setup-node@v2, actions/checkout@v3, actions/setup-node@v3.
Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.
Please check if updated versions of these actions are available that support Node.js 24.
To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment
variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you
can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true.
For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
The exact actions listed will vary per workflow.
Upgrades GitHub Actions to versions that support Node 24, since Node 20 is reaching EOL in April 2026.
Changes
| Action |
Old Version(s) |
New Version |
Compare |
Files |
actions/checkout |
v2, v3 |
v6 |
Diff |
ci.yaml, release.yaml |
actions/setup-node |
v2, v3 |
v6 |
Diff |
ci.yaml, release.yaml |
Context
Per GitHub's announcement, Node 20 is being deprecated and runners will default to Node 24 starting June 2nd, 2026.
- Node 20 EOL: April 2026
- Node 24 becomes default: June 2nd, 2026
Release Notes
Release notes for actions/checkout
Prepare release v4.3.0 (actions/checkout#2237)
What's Changed
Full Changelog: actions/checkout@v6.0.1...v6.0.2
What's Changed
Full Changelog: actions/checkout@v6...v6.0.1
What's Changed
Full Changelog: https://github.com/actions/checkout/compare/v5.0.
...truncated
What's Changed
Full Changelog: actions/checkout@v5...v5.0.1
Release notes for actions/setup-node
What's Changed
Enhancements:
When using node-version-file: package.json, setup-node now prefers devEngines.runtime over engines.node.
Dependency updates:
...truncated
What's Changed
Documentation
...truncated
What's Changed
Enhancement:
Dependency updates:
...truncated
What's Changed
Breaking Changes
Dependency Upgrades
- Upgrade ts-jest from 29.1.2 to 29.4.1 and document breaking changes in v5 by @dependabot[bot] in #1336
- Upgrade prettier from 2.8.8 to 3.6.2 by @dependabot[bot] in #1334
- Upgrade
...truncated
What's Changed
Breaking Changes
This update, introduces automatic caching when a valid packageManager field is present in your package.json. This aims to improve workflow performance and make dependency management more seamless.
To disable this automatic caching, set package-manager-cache: false
steps:
- uses: actions/chec
*...truncated*
</details>
## Notes
Worth running the workflows on a branch before merging to make sure everything still works.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.