@@ -4,22 +4,28 @@ on: [push]
44
55jobs :
66 test :
7- name : Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
7+ name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
88 runs-on : ${{ matrix.os }}
99 strategy :
1010 matrix :
11- node_version : [10, 12]
11+ node_version : [10, 12, 13 ]
1212 os : [ubuntu-latest, windows-latest]
1313
1414 steps :
15- - uses : actions/checkout@v1
15+ - uses : actions/checkout@v2
1616 - name : Use Node.js ${{ matrix.node_version }}
1717 uses : actions/setup-node@v1
1818 with :
19- version : ${{ matrix.node_version }}
20- 21- - name : npm install, build and test
22- run : |
23- npm install
24- npm run build --if-present
25- npm test
19+ node-version : ${{ matrix.node_version }}
20+ - run : npm install
21+ - run : npx run-s test:*
22+ - name : Coveralls Parallel
23+ uses : coverallsapp/github-action@master
24+ with :
25+ github-token : ${{ secrets.github_token }}
26+ parallel : true
27+ - name : Coveralls Finished
28+ uses : coverallsapp/github-action@master
29+ with :
30+ github-token : ${{ secrets.github_token }}
31+ parallel-finished : true
0 commit comments