Skip to content

Commit

Permalink
ci: add tsc check on pre-push hook
Browse files Browse the repository at this point in the history
  • Loading branch information
p-sw committed Jul 19, 2024
1 parent 9113b8e commit 6dcf44f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ pre-push:
commands:
biome_check:
glob: "*.{ts,tsx,json}"
run: yarn biome check --no-errors-on-unmatched --files-ignore-unknown=true {staged_files}
run: yarn biome check --no-errors-on-unmatched --files-ignore-unknown=true {all_files}
react_tsc:
glob: "packages/react/*.{ts,tsx}"
root: "packages/react/"
run: yarn tsc
cli_tsc:
glob: "packages/cli/*.{ts,tsx}"
root: "packages/cli/"
run: yarn tsc

0 comments on commit 6dcf44f

Please sign in to comment.