Skip to content

Update GitHub Actions To Use Node 24#157

Merged
lukka merged 6 commits intolukka:mainfrom
stephengtuggy:node-v24
Mar 20, 2026
Merged

Update GitHub Actions To Use Node 24#157
lukka merged 6 commits intolukka:mainfrom
stephengtuggy:node-v24

Conversation

@stephengtuggy
Copy link
Contributor

@stephengtuggy stephengtuggy commented Mar 19, 2026

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.

…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
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-node usage in workflows from 20.x to 24.x.
  • Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 to 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.

@stephengtuggy stephengtuggy requested a review from lukka March 20, 2026 14:11
Copy link
Owner

@lukka lukka left a comment

Choose a reason for hiding this comment

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

thanks!

@lukka lukka merged commit 0cd486b into lukka:main Mar 20, 2026
8 checks passed
@stephengtuggy stephengtuggy deleted the node-v24 branch March 20, 2026 17:27
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.

Node.js version used needs to be updated from v20 to v24

3 participants