Skip to content

Upgrade GitHub Actions for Node 24 compatibility#4927

Merged
Simek merged 1 commit into
react:mainfrom
salmanmkc:upgrade-github-actions-node24
Dec 16, 2025
Merged

Upgrade GitHub Actions for Node 24 compatibility#4927
Simek merged 1 commit into
react:mainfrom
salmanmkc:upgrade-github-actions-node24

Conversation

@salmanmkc

@salmanmkc salmanmkc commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Summary

Upgrade GitHub Actions to their latest versions to ensure compatibility with Node 24, as Node 20 will reach end-of-life in April 2026.

Changes

Action Old Version(s) New Version Release Files
actions/checkout `` v6 Release
actions/setup-node `` v6 Release
actions/stale `` v10 Release

Context

Per GitHub's announcement, Node 20 is being deprecated and runners will begin using Node 24 by default starting March 4th, 2026.

Why this matters

  • Node 20 EOL: April 2026
  • Node 24 default: March 4th, 2026
  • Action: Update to latest action versions that support Node 24

Security Note

Actions that were previously pinned to commit SHAs remain pinned to SHAs (updated to the latest release SHA) to maintain the security benefits of immutable references.

Testing

These changes only affect CI/CD workflow configurations and should not impact application functionality. The workflows should be tested by running them on a branch before merging.

@meta-cla meta-cla Bot added the CLA Signed label Dec 16, 2025
@netlify

netlify Bot commented Dec 16, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 1512095
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/6941425cef67e900081e1d29
😎 Deploy Preview https://deploy-preview-4927--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hey @salmanmkc, thanks for the contribution! 👍

We are using Node 22 on CI, since it's still recommended version in React Native core, and a minimal requirement to contribute to the website (https://github.com/facebook/react-native-website/?tab=readme-ov-file#prerequisites), but bumping actions to support Node 24 in the future won't hurt, since latest actions/setup-node still supports Node 22, ref:

@Simek Simek merged commit f2293e8 into react:main Dec 16, 2025
4 checks passed
@salmanmkc

Copy link
Copy Markdown
Contributor Author

Hey @salmanmkc, thanks for the contribution! 👍

We are using Node 22 on CI, since it's still recommended version in React Native core, and a minimal requirement to contribute to the website (https://github.com/facebook/react-native-website/?tab=readme-ov-file#prerequisites), but bumping actions to support Node 24 in the future won't hurt, since latest actions/setup-node still supports Node 22, ref:

Yup, shouldn't hurt, thanks so much!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants