File tree 4 files changed +1317
-3017
lines changed
4 files changed +1317
-3017
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+
8
+ jobs :
9
+ test :
10
+ strategy :
11
+ matrix :
12
+ node : [12.x, 14.x, 16.x]
13
+ os : [ubuntu-latest]
14
+ runs-on : ${{ matrix.os }}
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Use Node.js ${{ matrix.node }}
18
+ uses : actions/setup-node@v1
19
+ with :
20
+ node-version : ${{ matrix.node }}
21
+ - run : npm install
22
+ - run : npm test
23
+ - name : Coveralls Parallel
24
+ uses : coverallsapp/github-action@master
25
+ with :
26
+ github-token : ${{ secrets.github_token }}
27
+ flag-name : run-${{ matrix.test_number }}
28
+ parallel : true
29
+ finish :
30
+ runs-on : ubuntu-latest
31
+ needs : test
32
+ steps :
33
+ - name : Coveralls
34
+ uses : coverallsapp/github-action@master
35
+ with :
36
+ github-token : ${{ secrets.GITHUB_TOKEN }}
37
+ parallel-finished : true
38
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments