Skip to content

Commit

Permalink
feat: add codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocinante89 committed Jun 18, 2024
1 parent 2135d93 commit d56c21c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: CI

on:
pull_request:
branches: ['*']
branches: ["*"]
push:
branches: ['main']
branches: ["main"]
merge_group:

# You can leverage Vercel Remote Caching with Turbo to speed up your builds
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
format:
Expand Down Expand Up @@ -125,3 +126,11 @@ jobs:

- name: Typecheck
run: pnpm typecheck
upload-coverage-report:
runs-on: ubuntu-latest
needs: [format, lint, typecheck]
steps:
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d56c21c

Please sign in to comment.