From a1f480618432f969b323eafd4709abb352cbf4cc Mon Sep 17 00:00:00 2001 From: Ege Durmaz Date: Fri, 3 May 2024 13:32:25 +0300 Subject: [PATCH] fix: added codecov api token --- .github/workflows/betapublish.yml | 3 ++- .github/workflows/prchecks.yml | 3 ++- .github/workflows/publish.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/betapublish.yml b/.github/workflows/betapublish.yml index c373a4c..2d89277 100644 --- a/.github/workflows/betapublish.yml +++ b/.github/workflows/betapublish.yml @@ -19,13 +19,14 @@ jobs: - name: Test run: npm run test - uses: codecov/codecov-action@v2 + env: + CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }} with: files: coverage/*.json flags: unittests name: react-carousel-codecov fail_ci_if_error: true verbose: true - token: ${{ secrets.CODE_COV_API_TOKEN }} - name: Build run: npm run build - name: Publish diff --git a/.github/workflows/prchecks.yml b/.github/workflows/prchecks.yml index f9c46f4..15bfca5 100644 --- a/.github/workflows/prchecks.yml +++ b/.github/workflows/prchecks.yml @@ -23,13 +23,14 @@ jobs: - name: Test run: npm run test - uses: codecov/codecov-action@v2 + env: + CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }} with: files: coverage/*.json flags: unittests name: react-carousel-codecov fail_ci_if_error: true verbose: true - token: ${{ secrets.CODE_COV_API_TOKEN }} lint: runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 431b8dc..f646195 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,13 +19,14 @@ jobs: - name: Test run: npm run test - uses: codecov/codecov-action@v2 + env: + CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }} with: files: coverage/*.json flags: unittests name: react-carousel-codecov fail_ci_if_error: true verbose: true - token: ${{ secrets.CODE_COV_API_TOKEN }} - name: Build run: npm run build - name: Publish