From b86869506010090e78532ab1d3b440bd4a10caf1 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Sat, 22 Jun 2024 18:09:51 -0700 Subject: [PATCH] chore: switch to codecov v4 No change to logic. This updates codecov/codecov-action to v4. This version supposedly has better support for external contributors working from repository forks. This also switches to use a CODECOV_TOKEN. --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d1fd5f..46a251f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,8 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run test - - uses: codecov/codecov-action@v2 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true