Skip to content

Commit 034374a

Browse files
rathbomaclaude
andcommitted
Update CI to test Node 20.x and 22.x with better job names
Changes: - Remove Node 18.x from test matrix (outdated) - Add Node 22.x to test matrix - Update job names to show both OS and Node version e.g., "Test (ubuntu-latest, Node 20.x)" - Update package.json engines to require Node >=20.0.0 Now testing on 6 configurations: - ubuntu-latest: Node 20.x, 22.x - macos-latest: Node 20.x, 22.x - windows-latest: Node 20.x, 22.x Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ad19f63 commit 034374a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ concurrency:
1414

1515
jobs:
1616
test:
17-
name: Test on ${{ matrix.os }}
17+
name: Test (${{ matrix.os }}, Node ${{ matrix.node-version }})
1818
runs-on: ${{ matrix.os }}
1919

2020
strategy:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
24-
node-version: [18.x, 20.x]
24+
node-version: ['20.x', '22.x']
2525

2626
steps:
2727
- name: Checkout code

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"typescript": "^5.3.3"
4444
},
4545
"engines": {
46-
"node": ">=16.0.0"
46+
"node": ">=20.0.0"
4747
},
4848
"gypfile": true
4949
}

0 commit comments

Comments
 (0)