Skip to content

Commit 2505440

Browse files
committed
add coverage to CI workflow
1 parent 8c8dafa commit 2505440

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
name: CI
88
on: [push, pull_request]
99
jobs:
10-
test:
10+
build:
11+
name: Build
1112
runs-on: ubuntu-latest
1213
timeout-minutes: 10
1314
strategy:
@@ -27,5 +28,13 @@ jobs:
2728
run: |
2829
npm run build --if-present
2930
npm test
31+
npm run coverage
3032
env:
3133
CI: true
34+
- name: Coveralls GitHub Action
35+
uses: coverallsapp/github-action@v2.2.3
36+
with:
37+
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
38+
flag-name: node-${{ matrix.node-version }}
39+
parallel: true
40+

0 commit comments

Comments
 (0)