File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 10
10
build :
11
11
runs-on : ubuntu-latest
12
12
13
-
14
13
steps :
15
14
- uses : actions/checkout@v3
16
15
- name : Use Node.js ${{ matrix.node-version }}
19
18
node-version : 16.x
20
19
cache : " npm"
21
20
- run : npm install
22
- - name : Coveralls
23
- uses : coverallsapp/github-action@master
24
- with :
25
- github-token : ${{ secrets.GITHUB_TOKEN }}
21
+ - run : npm run coverage
22
+ - uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 1
1
# Create HTML5 Boilerplate
2
2
3
- [ ![ Coverage Status ] ( https://coveralls .io/repos/github/ h5bp/create-html5-boilerplate/badge.svg?branch=master )] ( https://coveralls .io/github /h5bp/create-html5-boilerplate?branch=master )
3
+ [ ![ codecov ] ( https://codecov .io/gh/ h5bp/create-html5-boilerplate/branch/master/graph/ badge.svg?token=H8V43VURZJ )] ( https://codecov .io/gh /h5bp/create-html5-boilerplate )
4
4
[ ![ code style: prettier] ( https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square )] ( https://github.com/prettier/prettier )
5
5
[ ![ Total alerts] ( https://img.shields.io/lgtm/alerts/g/h5bp/create-html5-boilerplate.svg?logo=lgtm&logoWidth=18 )] ( https://lgtm.com/projects/g/h5bp/create-html5-boilerplate/alerts/ )
6
6
Original file line number Diff line number Diff line change 22
22
"test" : " node --experimental-vm-modules ./node_modules/jest/bin/jest.js" ,
23
23
"lint" : " eslint lib/cli.js" ,
24
24
"format" : " prettier --write \" ./cli.js\" \" tests/*.js\" " ,
25
- "coverage" : " jest --coverage --collectCoverageOnlyFrom ./lib/cli.js" ,
25
+ "coverage" : " node --experimental-vm-modules ./node_modules/ jest/bin/jest.js --coverage --collectCoverageOnlyFrom ./lib/cli.js" ,
26
26
"semantic-release" : " semantic-release"
27
27
},
28
28
"files" : [
You can’t perform that action at this time.
0 commit comments