generated from juliusmarminge/acme-corp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2135d93
commit d56c21c
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 }} |