Skip to content

Commit a9befa5

Browse files
committed
Upgrade Node.js runtime from 20 to 24
Node 20 is deprecated for GitHub Actions and will be replaced by Node 24 as the default on June 2, 2026. Node 22 is not supported as a runs.using value, so this upgrades directly to Node 24.
1 parent d0d9cba commit a9befa5

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/auto-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v6
1818
with:
19-
node-version: 20.x
19+
node-version: 24.x
2020

2121
- name: Install dependencies
2222
run: npm install

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Node.js
1616
uses: actions/setup-node@v6
1717
with:
18-
node-version: 20.x
18+
node-version: 24.x
1919
cache: npm
2020

2121
- name: Install dependencies
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Node.js
3838
uses: actions/setup-node@v6
3939
with:
40-
node-version: 20.x
40+
node-version: 24.x
4141
cache: npm
4242

4343
- name: Install dependencies

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ outputs:
4343
tag_name:
4444
description: 'The name of the created tag_name'
4545
runs:
46-
using: 'node20'
46+
using: 'node24'
4747
main: 'dist/index.js'
4848
branding:
4949
icon: 'tag'

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typescript": "^5.8.3"
4646
},
4747
"engines": {
48-
"node": ">= 20.0.0"
48+
"node": ">= 24.0.0"
4949
},
5050
"standard": {
5151
"parser": "@typescript-eslint/parser",

0 commit comments

Comments
 (0)