Skip to content

Commit 666f11b

Browse files
authored
Merge pull request #15 from tilfin/feature/upgrade-node
Upgrade Node.js version
2 parents ad7c59f + 57e11cd commit 666f11b

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build:
11-
runs-on: ubuntu-latest
10+
build_and_test:
11+
name: Build and Test (Node ${{ matrix.node-version }})
12+
runs-on: ubuntu-slim
1213
strategy:
1314
matrix:
14-
node-version: [18.x, 20.x, 22.x]
15+
node-version: [22.x, 24.x, 26.x]
1516
steps:
16-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v6
1718
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
1920
with:
2021
node-version: ${{ matrix.node-version }}
21-
cache: 'npm'
22-
- run: npm install
23-
- name: Run ci_test
24-
run: npm run ci_test
22+
- run: npm ci
23+
- run: npm run ci_test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"nyc": "^17.1.0"
3939
},
4040
"engines": {
41-
"node": ">=18"
41+
"node": ">=22"
4242
}
4343
}

0 commit comments

Comments
 (0)