feat: add ci step upload coverage report Codecov
This commit is contained in:
parent
537fbd040a
commit
bb0414e7bb
|
@ -18,6 +18,8 @@ jobs:
|
|||
prebuild:
|
||||
name: Pre-build checks
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
@ -57,6 +59,10 @@ jobs:
|
|||
run: yarn test:unit
|
||||
if: success()
|
||||
|
||||
- name: Upload coverage report to Codecov
|
||||
run: yarn coverage
|
||||
if: success()
|
||||
|
||||
build:
|
||||
name: Build
|
||||
needs: prebuild
|
||||
|
|
Loading…
Reference in New Issue