From c24f3051cb21f3628d5433f17728797d476d09bd Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 22 Sep 2024 21:01:03 +0200 Subject: [PATCH] fixup! Port codecov to use Codecov's Github Action dedicated wrapper --- .github/workflows/node.js.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3dcd13a5..676be544 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,12 +18,6 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: codecov/codecov-action@v4 - with: - fail_ci_if_error: true - file: ./coverage.lcov - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: @@ -33,3 +27,10 @@ jobs: - run: npm run build --if-present - run: npm test - run: npm run coverage + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + file: ./coverage.lcov + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true