From 2e9dfb99a90e1815982c9e7f6e2079dda18d8988 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Thu, 13 Jun 2024 19:57:10 -0300 Subject: [PATCH] build: Update codecov and use token Update codecov to the latest version and start using the org-wide token for uploads. See https://github.com/openedx/wg-frontend/issues/179 --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88a57ea06..c50a45ec6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,9 @@ jobs: - run: make requirements - run: make test NPM_TESTS=build - run: make test NPM_TESTS=${{ matrix.npm-test }} - - name: upload coverage - uses: codecov/codecov-action@v3 + - name: Coverage + if: ${{ matrix.npm-test == 'test' }} + uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true