From ef82ff21c79238d66a775a5974f14fca74e9b67a Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Mon, 17 Jun 2024 11:56:52 -0300 Subject: [PATCH] build: Update codecov and use token (#145) 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 47f2dffb..f76ac105 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,10 @@ jobs: - name: is-es5 run: npm run is-es5 - name: Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Extract branch name shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"