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