File tree Expand file tree Collapse file tree 5 files changed +37
-13
lines changed Expand file tree Collapse file tree 5 files changed +37
-13
lines changed Original file line number Diff line number Diff line change 1+ comment : off
Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [master]
5+ pull_request :
6+ branches : [master]
7+ schedule :
8+ - cron : 0 0 * * 0
9+
10+ jobs :
11+ test :
12+ name : Test
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ node : [12.x, 10.x, 8.x]
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v1
20+ - name : Install Node.js ${{ matrix.node }}
21+ uses : actions/setup-node@v1
22+ with :
23+ node-version : ${{ matrix.node }}
24+ - name : Install Packages
25+ run : npm install
26+ - name : Test
27+ run : npm test
28+ - name : Send Coverage
29+ run : npm run -s codecov
30+ env :
31+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33[ ![ npm version] ( https://img.shields.io/npm/v/regexpp.svg )] ( https://www.npmjs.com/package/regexpp )
44[ ![ Downloads/month] ( https://img.shields.io/npm/dm/regexpp.svg )] ( http://www.npmtrends.com/regexpp )
5- [ ![ Build Status] ( https://travis-ci.org /mysticatea/regexpp.svg?branch=master )] ( https://travis-ci.org /mysticatea/regexpp )
6- [ ![ Coverage Status ] ( https://coveralls .io/repos/github/ mysticatea/regexpp/badge.svg )] ( https://coveralls .io/github /mysticatea/regexpp )
5+ [ ![ Build Status] ( https://github.com /mysticatea/regexpp/workflows/CI/badge .svg )] ( https://github.com /mysticatea/regexpp/actions )
6+ [ ![ codecov ] ( https://codecov .io/gh/ mysticatea/regexpp/branch/master/graph/ badge.svg )] ( https://codecov .io/gh /mysticatea/regexpp )
77[ ![ Dependency Status] ( https://david-dm.org/mysticatea/regexpp.svg )] ( https://david-dm.org/mysticatea/regexpp )
88
9- The regular expression parser for ECMAScript.
9+ A regular expression parser for ECMAScript.
1010
1111## 💿 Installation
1212
Original file line number Diff line number Diff line change 1616 "@types/jsdom" : " ^12.2.4" ,
1717 "@types/mocha" : " ^5.2.2" ,
1818 "@types/node" : " ^12.6.8" ,
19- "coveralls " : " ^3.0.1 " ,
19+ "codecov " : " ^3.5.0 " ,
2020 "dts-bundle" : " ^0.7.3" ,
2121 "eslint" : " ^6.1.0" ,
2222 "jsdom" : " ^15.1.1" ,
3737 "build:rollup" : " rollup -c" ,
3838 "build:dts" : " dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts" ,
3939 "clean" : " rimraf .temp index.*" ,
40- "coveralls " : " nyc report --reporter=text-lcov | coveralls " ,
40+ "codecov " : " nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov " ,
4141 "lint" : " eslint scripts src test --ext .ts" ,
4242 "pretest" : " run-s build lint" ,
4343 "test" : " nyc _mocha \" test/*.ts\" --reporter dot --timeout 10000" ,
You can’t perform that action at this time.
0 commit comments