From 5252f68b5df2a395148ce30dcafe35fcc219d769 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Mon, 17 Jun 2024 12:00:43 -0300 Subject: [PATCH] build: Update codecov and use token (#963) 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 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fa334e17..c903b4941 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,10 @@ jobs: run: npm run build - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Send failure notification if: ${{ failure() }}