Skip to content

Commit

Permalink
add coverage to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
phn210 committed Mar 14, 2024
1 parent 8c8dafa commit 2505440
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
name: CI
on: [push, pull_request]
jobs:
test:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
Expand All @@ -27,5 +28,13 @@ jobs:
run: |
npm run build --if-present
npm test
npm run coverage
env:
CI: true
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
flag-name: node-${{ matrix.node-version }}
parallel: true

0 comments on commit 2505440

Please sign in to comment.