Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
ci: upload coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Jun 22, 2022
1 parent 51706ea commit 1b56732
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,17 @@ jobs:
run: pnpm tsc --noEmit

- name: Run tests
if: matrix.node_version != '18.x' || matrix.os != 'ubuntu-latest'
run: pnpm test
env:
CI: true
NODE_ENV: test

- name: Run coverage tests
if: matrix.node_version == '18.x' && matrix.os == 'ubuntu-latest'
run: |
pnpm test:cov
bash <(curl -s https://codecov.io/bash)
env:
CI: true
NODE_ENV: test

0 comments on commit 1b56732

Please sign in to comment.