Skip to content

Commit 8a059bd

Browse files
committed
Update Node.js version requirements and adjust CI workflow for multiple Node.js versions
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 98681e0 commit 8a059bd

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.changeset/tidy-trams-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"swagger-typescript-api": patch
3+
---
4+
5+
Update Node.js version requirements.

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ permissions: read-all
88

99
jobs:
1010
build-and-test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node-version: [24, 22, 20]
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: Checkout tree
@@ -17,7 +21,7 @@ jobs:
1721
uses: actions/setup-node@v4
1822
with:
1923
check-latest: true
20-
node-version-file: .nvmrc
24+
node-version: ${{ matrix.node-version }}
2125

2226
- run: corepack enable
2327

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
},
8080
"packageManager": "[email protected]",
8181
"engines": {
82-
"node": ">=18.0.0"
82+
"node": ">=20"
8383
},
8484
"publishConfig": {
8585
"access": "public",

0 commit comments

Comments
 (0)