Update GitHub Actions To Use Node 24#157
Merged
lukka merged 6 commits intolukka:mainfrom Mar 20, 2026
Merged
Conversation
…NODE24` set to `true`; update versions of other actions used to latest; where node-version is explicitly specified, update it from 20.x to 24.x
lukka
reviewed
Mar 20, 2026
lukka
reviewed
Mar 20, 2026
There was a problem hiding this comment.
Pull request overview
Updates CI workflows in this repository to run under Node.js 24 in preparation for GitHub Actions’ upcoming Node 24 default runtime.
Changes:
- Update
actions/setup-nodeusage in workflows from20.xto24.x. - Add
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24to workflows to force JS actions to execute on Node 24. - Upgrade and pin several GitHub Actions dependencies (checkout/setup-node/CodeQL) to specific SHAs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| .github/workflows/codeql.yml | Moves CodeQL workflow to Node 24, adds Node24 force env, and upgrades/pins checkout + CodeQL actions. |
| .github/workflows/build-test.yml | Moves build/test workflows to Node 24, adds Node24 force env to both jobs, and upgrades/pins checkout + setup-node. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…E24` once, as recommended by Copilot
…js in the process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #156 . Also updates (and pins SHAs for) various GitHub Action dependencies. Many of these dependencies need to be updated to versions that are compatible with Node 24. And pinning SHAs is a good practice in general, from what I've read. See, for example, this GitHub blog article.