From 6b03bd33972179fbd915f1db99d5065016d5953f Mon Sep 17 00:00:00 2001 From: Norbert Elter <72046715+itsyoboieltr@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:49:18 +0200 Subject: [PATCH] fix: add token and fail on error --- .github/workflows/run-unit-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 1597dd92eefa..e981070aebb7 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -31,6 +31,9 @@ jobs: run: yarn test:coverage:jest - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true test-unit-jest-development: runs-on: ubuntu-latest @@ -58,3 +61,6 @@ jobs: run: yarn test:coverage:jest:dev - uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true