File tree Expand file tree Collapse file tree 3 files changed +40
-27
lines changed
Expand file tree Collapse file tree 3 files changed +40
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Coveralls
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ - develop
7+ push :
8+ branches :
9+ - master
10+ - develop
11+ jobs :
12+ install-and-coveralls :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@master
18+
19+ - name : Cache node modules
20+ uses : actions/cache@v1
21+ with :
22+ path : ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
23+ key : ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
24+ restore-keys : |
25+ ${{ runner.os }}-build-${{ env.cache-name }}-
26+ ${{ runner.os }}-build-
27+ ${{ runner.os }}-
28+
29+ - name : install
30+ run : yarn --network-timeout 600000
31+
32+ - name : yarn add coveralls
33+ run : |
34+ yarn add -D coveralls
35+ yarn run test --coverage && cat ./coverage/lcov.info
36+
37+ - name : Coveralls
38+ uses : coverallsapp/github-action@master
39+ with :
40+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 4242 "devDependencies" : {
4343 "@types/jest" : " ^24.0.24" ,
4444 "babel-eslint" : " ^10.0.3" ,
45- "coveralls" : " ^3.0.9" ,
4645 "eslint" : " ^5.16.0" ,
4746 "eslint-config-2o3t" : " ^1.1.17" ,
4847 "husky" : " ^3.1.0" ,
You can’t perform that action at this time.
0 commit comments