Skip to content

Upgrade GitHub Actions for Node 24 compatibility#955

Open
salmanmkc wants to merge 1 commit intovoidzero-dev:mainfrom
salmanmkc:upgrade-github-actions-node24
Open

Upgrade GitHub Actions for Node 24 compatibility#955
salmanmkc wants to merge 1 commit intovoidzero-dev:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link

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/download-artifact@v4.3.0, actions/upload-artifact@v4.6.2, actions/checkout@v4.
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/cache/restore 94b8944 cdf6c1f Diff action.yml
actions/cache/save 94b8944 cdf6c1f Diff action.yml
actions/checkout 11bd719, 8e8c483 de0fac2 Diff action.yml, ci.yml, deny.yml, e2e-test.yml, release.yml, test-standalone-install.yml, upgrade-deps.yml, zizmor.yml
actions/download-artifact d3f86a1 3e5f45b Diff ci.yml, e2e-test.yml, release.yml
actions/setup-node 6044e13, a0853c2 53b8394 Diff e2e-test.yml, release.yml
actions/upload-artifact ea165f8 bbbca2d Diff action.yml, e2e-test.yml, release.yml

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

Notes

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA).

Worth running the workflows on a branch before merging to make sure everything still works.

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 6659eb5
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b7cd5a8777e20008fdc3ae

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