Skip to content

Commit 66b4079

Browse files
ci: add Node.js 18 in the test matrix
Reference: https://github.com/nodejs/Release
1 parent be0a0e3 commit 66b4079

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [12.x, 14.x, 16.x]
15+
node-version:
16+
- 14
17+
- 18
1618

1719
steps:
18-
- uses: actions/checkout@v2
20+
- name: Checkout repository
21+
uses: actions/checkout@v2
22+
1923
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v2
2125
with:
2226
node-version: ${{ matrix.node-version }}
2327

24-
- run: npm ci
28+
- name: Install dependencies
29+
run: npm ci
2530

26-
- run: npm test
31+
- name: Run tests
32+
run: npm test
2733
env:
2834
CI: true
2935
timeout-minutes: 10

0 commit comments

Comments
 (0)