Skip to content

Commit cbe98c2

Browse files
committed
feat: node16 support
1 parent 01583af commit cbe98c2

File tree

4 files changed

+5218
-9083
lines changed

4 files changed

+5218
-9083
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,28 @@ name: node_js CI
33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
branches:
9-
- '**'
9+
- '**'
1010

1111
jobs:
12-
build:
12+
tests:
1313
runs-on: ubuntu-20.04
14+
strategy:
15+
matrix:
16+
node: [12, 14, 16]
1417
steps:
1518
- name: Checkout
1619
uses: actions/checkout@v2
1720

1821
- name: Setup Nodejs
1922
uses: actions/setup-node@v1
2023
with:
21-
node-version: 12
24+
node-version: ${{ matrix.node }}
2225

2326
- name: Setup npm
24-
run: npm install -g npm@6
27+
run: npm i -g npm@8.5.x
2528

2629
- name: Install dependencies
2730
run: npm ci

0 commit comments

Comments
 (0)