From a2184d9eba17898d3b7b32556d02307302e4fb84 Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Thu, 13 Jun 2024 20:11:59 -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/node-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 8e7862ff..4d1564bd 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -40,5 +40,8 @@ jobs: - name: Build run: npm run build - - name: Run Coverage - uses: codecov/codecov-action@v2 + - name: Run Code Coverage + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true