Skip to content

Commit

Permalink
Add CODECOV_TOKEN to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Feb 28, 2024
1 parent c7f931b commit b4fcdf4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ jobs:
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
path: ${{steps.pnpm-cache.outputs.STORE_PATH}}
key: ${{runner.os}}-pnpm-store-${{hashFiles('**/pnpm-lock.yaml')}}
restore-keys: |
${{ runner.os }}-pnpm-store-
${{runner.os}}-pnpm-store-
- name: Install dependencies
run: pnpm i --frozen-lockfile
Expand All @@ -83,6 +83,8 @@ jobs:

- name: Upload codecov report
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
if: matrix.node == '18.x'
with:
file: ./coverage/coverage-final.json
Expand Down

0 comments on commit b4fcdf4

Please sign in to comment.