File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 13
13
with :
14
14
node-version : 12
15
15
- run : yarn install --frozen-lockfile
16
- - run : yarn test
17
- - run : yarn run build
16
+ - run : yarn run coverage
17
+ - run : yarn run build
Original file line number Diff line number Diff line change
1
+ name : Report Test Coverage
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+
7
+ jobs :
8
+ report_test_coverage :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v1
13
+ with :
14
+ node-version : 12
15
+ - run : yarn install --frozen-lockfile
16
+ - run : yarn run coverage
17
+ - uses : coverallsapp/github-action@master
18
+ with :
19
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
<h3 align =" center " >~700B React Click Away Listener</h3 >
4
4
<p align =" center " >
5
5
<a href =" https://www.npmjs.org/package/react-click-away-listener " ><img src =" https://img.shields.io/npm/v/react-click-away-listener.svg?style=flat-square " alt =" npm " ></a >
6
- <a href =" https://travis-ci.org/ooade/react-click-away-listener " ><img src =" https://img.shields.io/travis/ooade/react-click-away-listener.svg?style=flat-square " alt =" travis " ></a >
7
6
<a href =' https://coveralls.io/github/ooade/react-click-away-listener?branch=master ' ><img src =' https://coveralls.io/repos/github/ooade/react-click-away-listener/badge.svg?branch=master ' alt =' Coverage Status ' /></a >
8
7
<a href =" https://www.npmjs.org/package/react-click-away-listener " ><img src =" https://img.shields.io/npm/dm/react-click-away-listener.svg?style=flat-square " alt =" downloads/month " ></a >
9
8
<a href =" http://makeapullrequest.com " ><img src =" https://img.shields.io/badge/PR(s)-welcome-brightgreen.svg?style=flat-square " alt =" pullrequest " ></a >
Original file line number Diff line number Diff line change 15
15
"build:declaration" : " tsc" ,
16
16
"cleanup" : " rimraf dist" ,
17
17
"build" : " npm run cleanup && npm-run-all build:*" ,
18
- "report-coverage" : " cat ./coverage/lcov.info | coveralls" ,
19
18
"prettier" : " prettier --write '{src,__tests__}/*.tsx'" ,
20
19
"print-file-size" : " cat dist/react-click-away-listener.js | gzip | wc -c"
21
20
},
You can’t perform that action at this time.
0 commit comments