Skip to content

Commit 46dfc01

Browse files
kwngochingor13
andauthored
feat!: upgrade to node24 (#1188)
Node v20 is going to be EOL in April 2026 -- https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/, and is being deprecated by Github on March 4 2026. Addresses #1162 --------- Signed-off-by: Jeff Ching <chingor@google.com> Co-authored-by: Jeff Ching <chingor@google.com>
1 parent 5c625bf commit 46dfc01

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node: [20]
13+
node: [20, 24]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
@@ -26,18 +26,21 @@ jobs:
2626
- run: npm test
2727
windows:
2828
runs-on: windows-latest
29+
strategy:
30+
matrix:
31+
node: [20, 24]
2932
steps:
3033
- uses: actions/checkout@v4
3134
- uses: actions/setup-node@v4
3235
with:
33-
node-version: 20
36+
node-version: ${{ matrix.node }}
3437
- run: npm ci
3538
- run: npm test
3639
build-dist:
3740
runs-on: ubuntu-latest
3841
strategy:
3942
matrix:
40-
node: [20]
43+
node: [20, 24]
4144
steps:
4245
- uses: actions/checkout@v4
4346
- uses: actions/setup-node@v4

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ inputs:
7575
required: false
7676
default: ''
7777
runs:
78-
using: 'node20'
78+
using: 'node24'
7979
main: 'dist/index.js'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "automated releases based on conventional commits",
66
"main": "index.js",
77
"scripts": {
8-
"test": "c8 mocha --node-option no-experimental-fetch --recursive --timeout=5000 build/test",
8+
"test": "c8 mocha --recursive --timeout=5000 build/test",
99
"prepare": "npm run compile",
1010
"lint": "gts check",
1111
"compile": "tsc -p .",

0 commit comments

Comments
 (0)