Skip to content

chore(ci): Upgrade GitHub Actions for Node 24 compatibility#955

Merged
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
salmanmkc:upgrade-github-actions-node24
May 11, 2026
Merged

chore(ci): Upgrade GitHub Actions for Node 24 compatibility#955
fengmk2 merged 5 commits into
voidzero-dev:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc
Copy link
Copy Markdown
Contributor

@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 9c01876
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a01d30c9635f20009fe6ad5

@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
Contributor Author

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

@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch 4 times, most recently from 6aade8d to b309f78 Compare April 28, 2026 12:59
Comment thread .github/workflows/release.yml Dismissed
@fengmk2 fengmk2 changed the title Upgrade GitHub Actions for Node 24 compatibility chore(ci): Upgrade GitHub Actions for Node 24 compatibility May 11, 2026
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@fengmk2 fengmk2 force-pushed the upgrade-github-actions-node24 branch from b309f78 to 16c565f Compare May 11, 2026 12:38
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@salmanmkc Thanks! I will fix format issues and merge.

@fengmk2 fengmk2 self-assigned this May 11, 2026
@fengmk2 fengmk2 merged commit 6347597 into voidzero-dev:main May 11, 2026
107 checks passed
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