File tree 5 files changed +37
-13
lines changed
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 2
2
3
3
[ ![ npm version] ( https://img.shields.io/npm/v/regexpp.svg )] ( https://www.npmjs.com/package/regexpp )
4
4
[ ![ 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 )
7
7
[ ![ Dependency Status] ( https://david-dm.org/mysticatea/regexpp.svg )] ( https://david-dm.org/mysticatea/regexpp )
8
8
9
- The regular expression parser for ECMAScript.
9
+ A regular expression parser for ECMAScript.
10
10
11
11
## 💿 Installation
12
12
Original file line number Diff line number Diff line change 16
16
"@types/jsdom" : " ^12.2.4" ,
17
17
"@types/mocha" : " ^5.2.2" ,
18
18
"@types/node" : " ^12.6.8" ,
19
- "coveralls " : " ^3.0.1 " ,
19
+ "codecov " : " ^3.5.0 " ,
20
20
"dts-bundle" : " ^0.7.3" ,
21
21
"eslint" : " ^6.1.0" ,
22
22
"jsdom" : " ^15.1.1" ,
37
37
"build:rollup" : " rollup -c" ,
38
38
"build:dts" : " dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts" ,
39
39
"clean" : " rimraf .temp index.*" ,
40
- "coveralls " : " nyc report --reporter=text-lcov | coveralls " ,
40
+ "codecov " : " nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov " ,
41
41
"lint" : " eslint scripts src test --ext .ts" ,
42
42
"pretest" : " run-s build lint" ,
43
43
"test" : " nyc _mocha \" test/*.ts\" --reporter dot --timeout 10000" ,
You can’t perform that action at this time.
0 commit comments