From bb0414e7bb37ba0e0bb280a6f3ace27fb16bcc06 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 22 Apr 2021 15:28:30 -0700 Subject: [PATCH] feat: add ci step upload coverage report Codecov --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 205edd408..d38f1e3a8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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