Skip to content

Upgrade GitHub Actions runtime from Node.js 20 to Node.js 24#1993

Merged
arturcic merged 2 commits intomainfrom
copilot/update-nodejs-version-to-24
Mar 13, 2026
Merged

Upgrade GitHub Actions runtime from Node.js 20 to Node.js 24#1993
arturcic merged 2 commits intomainfrom
copilot/update-nodejs-version-to-24

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

Node.js 20 is being deprecated on GitHub Actions runners. This updates all action definitions and build configs to target Node.js 24.

Changes

  • action.yml files (×11)using: node20using: node24 across all gitversion and gitreleasemanager actions
  • src/vite.common.config.mts — esbuild target updated to node24
  • src/__tests__/vitest.config.ts — esbuild target updated to node24
  • package.json — engines field updated to "node": ">=24"
Original prompt

This section details on the original issue you should resolve

<issue_title>[ISSUE]: NodeJS20 will be deprecated in Github ACtions</issue_title>
<issue_description>### Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

GitHub Actions

What are you seeing?

We need a new version which supports NodeJS24+ as current nodejs20 will be deprecated in June.

What is expected?

Actions running with NodeJS24 by default to avoid issues with GH Actions.

https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Steps to Reproduce

Execute current version in GH Actions and Github will report the issue.

Output log or link to your CI build (if appropriate).

https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
```</issue_description>

<agent_instructions>check this on</agent_instructions>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…onfigs

Co-authored-by: arturcic <1760506+arturcic@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

Copilot AI changed the title [WIP] [ISSUE] Support NodeJS 24 in GitHub Actions Upgrade GitHub Actions runtime from Node.js 20 to Node.js 24 Mar 13, 2026
Copilot AI requested a review from arturcic March 13, 2026 17:07
@arturcic arturcic marked this pull request as ready for review March 13, 2026 21:13
Copilot AI review requested due to automatic review settings March 13, 2026 21:13
Copy link
Copy Markdown
Contributor

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 this repository’s GitHub Actions and build/test tooling configuration to target Node.js 24, aligning with the announced deprecation of Node.js 20 on GitHub Actions runners.

Changes:

  • Switch JavaScript action runtimes from node20 to node24 across the GitVersion and GitReleaseManager actions.
  • Update Vite/Vitest esbuild targets from node20 to node24.
  • Raise the package engines.node requirement from >=20 to >=24 (including lockfile metadata).

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/vite.common.config.mts Bumps esbuild target to node24 for builds.
src/tests/vitest.config.ts Bumps esbuild target to node24 for tests.
package.json Raises Node engine requirement to >=24.
package-lock.json Keeps lockfile engine metadata in sync with package.json.
action.yml Updates root action runtime to node24.
gitversion/setup/action.yml Updates action runtime to node24.
gitversion/execute/action.yml Updates action runtime to node24.
gitversion/command/action.yml Updates action runtime to node24.
gitreleasemanager/setup/action.yml Updates action runtime to node24.
gitreleasemanager/publish/action.yml Updates action runtime to node24.
gitreleasemanager/open/action.yml Updates action runtime to node24.
gitreleasemanager/discard/action.yml Updates action runtime to node24.
gitreleasemanager/create/action.yml Updates action runtime to node24.
gitreleasemanager/close/action.yml Updates action runtime to node24.
gitreleasemanager/addasset/action.yml Updates action runtime to node24.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"type": "module",
"engines": {
"node": ">=20"
"node": ">=24"
@arturcic arturcic merged commit 93a7e48 into main Mar 13, 2026
22 checks passed
@arturcic arturcic deleted the copilot/update-nodejs-version-to-24 branch March 13, 2026 21:20
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 13, 2026

Thank you @Copilot for your contribution!

@wvxi
Copy link
Copy Markdown

wvxi commented Mar 14, 2026

Thanks!

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.

[ISSUE]: NodeJS20 will be deprecated in Github ACtions

4 participants