From f90f670ddf04c1cf69696d6c0207add71a337b9f Mon Sep 17 00:00:00 2001 From: Chet Lintz Date: Thu, 22 May 2025 15:33:41 -0600 Subject: [PATCH 1/5] codecov --- codecov.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index e91d49c..556a548 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,7 +3,9 @@ coverage: status: project: default: - informational: true + target: 60% + informational: false patch: default: - informational: true + target: 80% + informational: false From 36776f70387d5dc01e742c01651274b7bd5a09f2 Mon Sep 17 00:00:00 2001 From: Chet Lintz Date: Tue, 27 May 2025 09:15:32 -0600 Subject: [PATCH 2/5] try cache 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 85422e5..e592e79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} From 9981759378fcbf71d0226cd62058d5ed69b85e83 Mon Sep 17 00:00:00 2001 From: Chet Lintz Date: Tue, 27 May 2025 09:29:40 -0600 Subject: [PATCH 3/5] add action --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e592e79..02f83e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,4 +40,10 @@ jobs: run: yarn lint - name: Test - run: yarn test + run: yarn test --coverage + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: segmentio/tsub-js \ No newline at end of file From 7cb0b3ca59b6ade927972e583f570756c989abaf Mon Sep 17 00:00:00 2001 From: Chet Lintz Date: Tue, 27 May 2025 10:21:10 -0600 Subject: [PATCH 4/5] correct value --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 556a548..c6b0f1b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,7 +3,7 @@ coverage: status: project: default: - target: 60% + target: 93.14% informational: false patch: default: From c861b462e1b4362c4c53a79886b8a8cac1f54bfc Mon Sep 17 00:00:00 2001 From: Chet Lintz Date: Tue, 27 May 2025 10:26:06 -0600 Subject: [PATCH 5/5] set percent 80 --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index c6b0f1b..9fdc823 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,7 +3,7 @@ coverage: status: project: default: - target: 93.14% + target: 80% informational: false patch: default: