Skip to content

Upgrade GitHub Actions for Node 24 compatibility#444

Closed
salmanmkc wants to merge 1 commit into
facebook:mainfrom
salmanmkc:upgrade-github-actions-node24
Closed

Upgrade GitHub Actions for Node 24 compatibility#444
salmanmkc wants to merge 1 commit into
facebook:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc

@salmanmkc salmanmkc commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

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@v4, actions/setup-node@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/checkout v4 v6 Diff clang-format-check.yml, deploy-website.yml
actions/setup-node v4 v6 Diff deploy-website.yml
actions/upload-artifact v6 v7 Diff getdeps_linux.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

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 29, 2026
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
@salmanmkc salmanmkc force-pushed the upgrade-github-actions-node24 branch from 2a8af4e to 83e44fc Compare April 29, 2026 12:13
@meta-codesync

meta-codesync Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

@rlyerly has imported this pull request. If you are a Meta employee, you can view this in D103210314.

@meta-codesync

meta-codesync Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

@rlyerly merged this pull request in ba12738.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant