From 82f46167e8b121eb306de40133be3d175b34d2a5 Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Sat, 22 Jun 2024 17:57:18 -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. --- .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 1f63140..20ac6eb 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