From 9a43ec0b451fe81f825ac74503c46dc62a1797e3 Mon Sep 17 00:00:00 2001 From: Corey Date: Wed, 1 Jan 2025 14:38:46 -0800 Subject: [PATCH] ci: Fix code coverage reporting (#352) --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 633aba1f..882d1417 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,5 +46,11 @@ jobs: run: npm ci - name: Run tests run: npm run test - - name: Code coverage - run: bash <(curl -s https://codecov.io/bash) + - name: Upload code coverage + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true