Skip to content

Commit 480979e

Browse files
committed
fix: added codecov api token
1 parent b79a7a6 commit 480979e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/betapublish.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
run: npm install
1919
- name: Test
2020
run: npm run test
21-
- uses: codecov/codecov-action@v2
21+
- uses: codecov/codecov-action@v4
22+
env:
23+
CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }}
2224
with:
2325
files: coverage/*.json
2426
flags: unittests
2527
name: react-carousel-codecov
2628
fail_ci_if_error: true
2729
verbose: true
28-
token: ${{ secrets.CODE_COV_API_TOKEN }}
2930
- name: Build
3031
run: npm run build
3132
- name: Publish

.github/workflows/prchecks.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ jobs:
2222
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
2323
- name: Test
2424
run: npm run test
25-
- uses: codecov/codecov-action@v2
25+
- uses: codecov/codecov-action@v4
26+
env:
27+
CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }}
2628
with:
2729
files: coverage/*.json
2830
flags: unittests
2931
name: react-carousel-codecov
3032
fail_ci_if_error: true
3133
verbose: true
32-
token: ${{ secrets.CODE_COV_API_TOKEN }}
3334
lint:
3435
runs-on: ubuntu-latest
3536
permissions:

.github/workflows/publish.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
run: npm install
1919
- name: Test
2020
run: npm run test
21-
- uses: codecov/codecov-action@v2
21+
- uses: codecov/codecov-action@v4
22+
env:
23+
CODE_COV_API_TOKEN: ${{ secrets.CODE_COV_API_TOKEN }}
2224
with:
2325
files: coverage/*.json
2426
flags: unittests
2527
name: react-carousel-codecov
2628
fail_ci_if_error: true
2729
verbose: true
28-
token: ${{ secrets.CODE_COV_API_TOKEN }}
2930
- name: Build
3031
run: npm run build
3132
- name: Publish

0 commit comments

Comments
 (0)