File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ node : [8, 10, 12]
11+ name : Node ${{ matrix.node }}
12+ steps :
13+ - uses : actions/checkout@master
14+ - name : Use Node.js
15+ uses : actions/setup-node@v1
16+ with :
17+ node-version : ${{ matrix.node }}
18+ - name : Install dependencies
19+ run : npm install
20+ - name : Run tests
21+ run : npm test
22+ - name : Coveralls
23+ uses : coverallsapp/github-action@master
24+ with :
25+ github-token : ${{ secrets.GITHUB_TOKEN }}
26+ path-to-lcov : ./build/lcov.info
27+ parallel : true
28+ - name : Coveralls Finished
29+ uses : coverallsapp/github-action@master
30+ with :
31+ github-token : ${{ secrets.GITHUB_TOKEN }}
32+ parallel-finished : true
You can’t perform that action at this time.
0 commit comments