Skip to content

Commit 455b1e2

Browse files
authored
ci: update node versions for testing
1 parent 560d197 commit 455b1e2

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node: [14, 16]
10+
node: [16, 18, 20]
1111
steps:
1212
- uses: actions/checkout@v3
1313
with:
@@ -18,18 +18,13 @@ jobs:
1818
with:
1919
node-version: ${{ matrix.node }}
2020

21-
- name: Update npm
22-
if: matrix.node == 14
23-
run: |
24-
npm i -g npm@latest
25-
2621
- name: Test and generate coverage
2722
run: |
2823
npm ci
2924
npm run test:ci
3025
3126
- name: Coveralls
32-
if: matrix.node == 16
27+
if: matrix.node == 20
3328
uses: coverallsapp/github-action@master
3429
with:
3530
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -46,10 +41,10 @@ jobs:
4641
with:
4742
fetch-depth: 0
4843

49-
- name: Use Node.js 16
44+
- name: Use Node.js 20
5045
uses: actions/setup-node@v3
5146
with:
52-
node-version: 16
47+
node-version: 20
5348

5449
- name: Install dependencies
5550
run: |

0 commit comments

Comments
 (0)