Skip to content

Commit

Permalink
ci: update codecov to use token (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj authored Dec 3, 2024
1 parent f65532e commit 35729a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ jobs:
node-version: [18, 20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@master
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Get yarn cache
uses: c-hive/gha-yarn-cache@v2
cache: 'yarn'

- name: Install Dependencies using Yarn
run: yarn --ignore-engines
Expand All @@ -28,6 +26,8 @@ jobs:
run: yarn test:ci

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true

0 comments on commit 35729a6

Please sign in to comment.