From dbdfe8662ff97cb5b7b667f3818175bd5faba1a0 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Fri, 14 Jun 2024 17:35:23 -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 | 5 ++++- .github/workflows/release.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d513b9..242f46a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,4 +21,7 @@ jobs: - name: Test run: npm run test - name: Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05f5d14..d5ce36b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,10 @@ jobs: - name: Test run: npm run test - name: Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false - name: Build run: npm run build - name: Release