File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' 🦊 Coverage'
2+
3+ on :
4+ push :
5+ branches : [master, dev]
6+ pull_request :
7+ branches : [master,dev]
8+ env :
9+ CI : true
10+
11+ jobs :
12+ test :
13+ name : Node ${{ matrix.node }} on ${{ matrix.os }}
14+ runs-on : ${{ matrix.os }}
15+
16+ steps :
17+ - name : Clone repository
18+ uses : actions/checkout@v2
19+
20+ - name : Set Node.js version
21+ uses : actions/setup-node@v1
22+ with :
23+ node-version : ' 14'
24+
25+ - name : Install npm dependencies
26+ run : npm install
27+
28+ - name : Run lint
29+ run : npm run lint
30+
31+ - name : Run tests
32+ run : npm run test:coveralls
33+
34+ - name : Coveralls
35+ uses : coverallsapp/github-action@master
36+ with :
37+ github-token : ${{secrets.GITHUB_TOKEN}}
38+ parallel : true
39+
40+ finish :
41+ needs : test
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : Coveralls Finished
45+ uses : coverallsapp/github-action@master
46+ with :
47+ github-token : ${{secrets.GITHUB_TOKEN}}
48+ parallel-finished : true
You can’t perform that action at this time.
0 commit comments