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