Skip to content

Commit 35729a6

Browse files
authored
ci: update codecov to use token (#370)
1 parent f65532e commit 35729a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/validation.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ jobs:
1111
node-version: [18, 20, 22]
1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Use Node ${{ matrix.node-version }}
17-
uses: actions/setup-node@master
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
21-
- name: Get yarn cache
22-
uses: c-hive/gha-yarn-cache@v2
20+
cache: 'yarn'
2321

2422
- name: Install Dependencies using Yarn
2523
run: yarn --ignore-engines
@@ -28,6 +26,8 @@ jobs:
2826
run: yarn test:ci
2927

3028
- name: Upload coverage to Codecov
31-
uses: codecov/codecov-action@v1
29+
uses: codecov/codecov-action@v4
30+
env:
31+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3232
with:
3333
fail_ci_if_error: true

0 commit comments

Comments
 (0)