File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : CI
4
+
5
+ on : [push, pull_request]
6
+ jobs :
7
+ test-coverage :
8
+ name : Test on Node.js Latest
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v2
13
+ - name : Use Node.js latest
14
+ uses : actions/setup-node@v2.1.3
15
+ with :
16
+ node-version : " 15"
17
+ - name : Install dependencies
18
+ run : npm install
19
+ - name : Generate coverage report
20
+ run : npm run test-coverage
21
+ - name : Upload coverage report
22
+ uses : codecov/codecov-action@v1.0.15
23
+ with :
24
+ token : ${{ secrets.CODECOV }}
25
+ test-node-12 :
26
+ name : Test on Node.js v12
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - name : Checkout codd
30
+ uses : actions/checkout@v2
31
+ - name : Use Node.js v12
32
+ uses : actions/setup-node@v2.1.3
33
+ with :
34
+ node-version : " 12"
You can’t perform that action at this time.
0 commit comments