We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f7376 commit 185ea69Copy full SHA for 185ea69
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: Node.js CI
2
+on: [push, pull_request]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ strategy:
7
+ matrix:
8
+ node-version: [14.x, 16.x]
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v2
12
+ - name: Use Node.js ${{ matrix.node-version }}
13
+ uses: actions/setup-node@v2
14
+ with:
15
+ node-version: ${{ matrix.node-version }}
16
+ - name: Install dependencies
17
+ run: npm ci
18
+ - name: Lint
19
+ run: npm run lint
20
+ - name: Test
21
+ run: npm run test -- --coverage --verbose --ci
22
+ - name: Build
23
+ run: npm run build
24
+ - name: Upload coverage to Codecov
25
+ uses: codecov/codecov-action@v1
0 commit comments