8000
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 3bc8f10 commit 711204fCopy full SHA for 711204f
.github/workflows/CI.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ node-version: [ 14.x ]
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v2
19
20
+ - name: Setup Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v1
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
25
+ - name: Install dependencies
26
+ run: npm i
27
28
+ - name: Run linting
29
+ run: npm run lint
30
31
+ - name: Run tests
32
+ run: npm run coverage
33
34
+ - name: Upload coverage to Codecov
35
+ uses: codecov/codecov-action@v1
.github/workflows/ci.yml
0 commit comments