Skip to content

ci(deps): update GitHub actions to run on Node.js 24 (LTS)#146

Open
MikeMcC399 wants to merge 1 commit intomathiasbynens:mainfrom
MikeMcC399:ci-node24
Open

ci(deps): update GitHub actions to run on Node.js 24 (LTS)#146
MikeMcC399 wants to merge 1 commit intomathiasbynens:mainfrom
MikeMcC399:ci-node24

Conversation

@MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Feb 21, 2026

Situation

  • GitHub has deprecated the use of node20 and plans to force runners to use node24 beginning on Mar 4, 2026 - see Deprecation of Node 20 on GitHub Actions runners Edit: postponed until June 2, 2026.

  • Node.js 20 is planned for end-of-life on April 30, 2026.

  • .nvmrc defines Node.js 20 for usage. This will no longer be supported by the end of April 2026.

GitHub Actions workflows are currently based on node20 versions

Change

Update

Update the above GitHub Actions workflows to use latest node24 versions:

@MikeMcC399
Copy link
Contributor Author

@mathiasbynens

Would you like to review? It just puts CI on a current basis.

@MikeMcC399
Copy link
Contributor Author

Without this PR, GitHub Actions now warns:

image

build
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/

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