Skip to content

Commit 70e68b2

Browse files
committed
Convert from Coveralls to Codecov.io
1 parent 7ea353d commit 70e68b2

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/coveralls.yml renamed to .github/workflows/coverage.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13-
1413
steps:
1514
- uses: actions/checkout@v3
1615
- name: Use Node.js ${{ matrix.node-version }}
@@ -19,7 +18,5 @@ jobs:
1918
node-version: 16.x
2019
cache: "npm"
2120
- 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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create HTML5 Boilerplate
22

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)
44
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
55
[![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/)
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
2323
"lint": "eslint lib/cli.js",
2424
"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",
2626
"semantic-release": "semantic-release"
2727
},
2828
"files": [

0 commit comments

Comments
 (0)