From a8b9ceb50a4846d59fd6bd1d2da2a347f51b3b1e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 14:21:20 -0700 Subject: [PATCH 1/2] chore(ci): upgrade to codecov v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a50c666..ec6ec3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,4 +15,4 @@ jobs: - name: Run tests and collect coverage run: npm run test - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 From e3912d9a42afc3cf230a19359fa2f298b0d836a4 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 14:23:35 -0700 Subject: [PATCH 2/2] fix: add the token --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec6ec3e..d9466e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,3 +16,5 @@ jobs: run: npm run test - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}