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