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
Copy Markdown

@salmanmkc salmanmkc commented Mar 16, 2026

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 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 27d5ce7 Diff action.yml
actions/cache/save 94b8944 27d5ce7 Diff action.yml
actions/download-artifact d3f86a1 3e5f45b Diff ci.yml, e2e-test.yml, release.yml, test-vp-create.yml
actions/setup-node 53b8394 48b55a0 Diff e2e-test.yml, release.yml, test-vp-create.yml
actions/upload-artifact ea165f8 043fb46 Diff action.yml, e2e-test.yml, release.yml, test-vp-create.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

All actions are pinned to commit SHAs for supply-chain security. Version comments are included for readability (e.g. actions/checkout@abc123 # v6).

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 16, 2026

Deploy Preview for viteplus-preview canceled.

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

@fengmk2
Copy link
Copy Markdown
Member

fengmk2 commented Apr 16, 2026

@salmanmkc can you fix the conflicts and continue?

@jong-kyung
Copy link
Copy Markdown
Collaborator

Hi @salmanmkc, thank you for starting this! Since Node 20 is reaching its EOL and there have been no updates for a couple of weeks, would it be okay if I take over this PR to resolve the conflicts and fix the failing CI? I'd love to help get this merged soon.

@salmanmkc
Copy link
Copy Markdown
Author

no worries, I can push a fix, gimmie a couple seconds

@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch 3 times, most recently from bf28ebc to 6aade8d Compare April 28, 2026 12:51
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch from 6aade8d to b309f78 Compare April 28, 2026 12:59
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0

- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
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.

4 participants