From f5ac8b735aa949f3648fd6a84ee080b037569b51 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Wed, 1 May 2024 19:30:08 -0400 Subject: [PATCH] Upload coverage artifact to codecov. --- .github/workflows/ci-js.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci-js.yml b/.github/workflows/ci-js.yml index 6b65c82..a566c64 100644 --- a/.github/workflows/ci-js.yml +++ b/.github/workflows/ci-js.yml @@ -12,3 +12,20 @@ jobs: uses: collectionspace/.github/.github/workflows/check-js.yml@main secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + upload-coverage: + name: Upload coverage report + needs: check + runs-on: ubuntu-latest + + steps: + - name: Download coverage report artifact + uses: actions/download-artifact@v4 + with: + name: coverage + + - name: Upload to codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true