Skip to content

Commit 7ca3de2

Browse files
committed
fix(workflows): fix coverage reporting under mocha
1 parent a136f87 commit 7ca3de2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
run: npm ci
2525
- name: Build
2626
run: npm run build --if-present
27-
# - name: Test
28-
# run: npm test -- --silent --verbose
29-
#- name: Coveralls
30-
# uses: coverallsapp/[email protected]
31-
# with:
32-
# github-token: ${{ secrets.github_token }}
27+
- name: Test
28+
run: npx nyc --reporter=lcovonly --reporter=text npm test
29+
- name: Coveralls
30+
uses: coverallsapp/[email protected]
31+
with:
32+
github-token: ${{ secrets.github_token }}
3333
- name: Release
3434
env:
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)