From 3f32da52f5dadb8dde3152b1a8136ed990e193b1 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Thu, 30 Nov 2023 16:29:40 -0600 Subject: [PATCH 1/2] chore(test): integrate codecov --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52ebde9..75ddf1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,11 @@ jobs: env: CI: true + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + build: runs-on: ubuntu-latest From 2952663a437e2cd3e29ad55c4255d7ee1cae71ad Mon Sep 17 00:00:00 2001 From: fallenoak Date: Thu, 30 Nov 2023 16:34:14 -0600 Subject: [PATCH 2/2] chore(test): only upload coverage on first node version test run --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75ddf1f..c1b2067 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 + if: matrix.node-version == '18.x' env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}