Archived
1
0

feat: add ci step upload coverage report Codecov

This commit is contained in:
Joe Previte 2021-04-22 15:28:30 -07:00
parent 537fbd040a
commit bb0414e7bb
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -18,6 +18,8 @@ jobs:
prebuild: prebuild:
name: Pre-build checks name: Pre-build checks
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -57,6 +59,10 @@ jobs:
run: yarn test:unit run: yarn test:unit
if: success() if: success()
- name: Upload coverage report to Codecov
run: yarn coverage
if: success()
build: build:
name: Build name: Build
needs: prebuild needs: prebuild