Skip to content

Commit b5529fd

Browse files
committed
Update coverage reporting
1 parent da79640 commit b5529fd

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches: [ master ]
1111

1212
jobs:
13-
build:
13+
test:
1414

1515
runs-on: ubuntu-latest
1616

@@ -28,4 +28,20 @@ jobs:
2828
cache: 'npm'
2929
- run: npm ci
3030
- run: npm run build --if-present
31-
- run: npm test && npm run test:coverage
31+
- run: npm test
32+
- name: Coveralls
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
flag-name: run-${{ matrix.node-version }}Upd
37+
parallel: true
38+
39+
finish:
40+
needs: test
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Coveralls Finished
44+
uses: coverallsapp/github-action@master
45+
with:
46+
github-token: ${{ secrets.github_token }}
47+
parallel-finished: true

0 commit comments

Comments
 (0)