From d0d414359c03297af63f06cc7b5a0862993177b7 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Thu, 13 Jun 2024 19:39:27 -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 900a2f7967..cd79cfaf8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,4 +33,7 @@ jobs: - name: i18n_extract run: npm run i18n_extract - 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 9d7881b900..2baffdc47b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,10 @@ jobs: - name: i18n_extract run: npm run i18n_extract - name: Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Build run: npm run build - name: Release