Skip to content

Commit 308a238

Browse files
committedDec 29, 2023
chore(ci): update node matrix
1 parent 42354d3 commit 308a238

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
nodejs: [8, 10, 12, 14, 16]
11+
nodejs: [8, 10, 12, 14, 16, 18]
1212
steps:
13-
- uses: actions/checkout@v2
14-
- uses: actions/setup-node@v2
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
1515
with:
1616
node-version: ${{ matrix.nodejs }}
1717

@@ -25,22 +25,22 @@ jobs:
2525
run: npm install
2626

2727
- name: (coverage) Install
28-
if: matrix.nodejs >= 16
28+
if: matrix.nodejs >= 18
2929
run: npm install -g nyc
3030

3131
- name: Build
3232
run: npm run build
3333

3434
- name: Test
3535
run: npm test
36-
if: matrix.nodejs < 16
36+
if: matrix.nodejs < 18
3737

3838
- name: (coverage) Test
3939
run: nyc --include=src npm test
40-
if: matrix.nodejs >= 16
40+
if: matrix.nodejs >= 18
4141

4242
- name: (coverage) Report
43-
if: matrix.nodejs >= 16
43+
if: matrix.nodejs >= 18
4444
run: |
4545
nyc report --reporter=text-lcov > coverage.lcov
4646
bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)
Please sign in to comment.