mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: setup husky pre-push hook to run typecheck
This commit is contained in:
parent
1c878c662b
commit
22d5be9bf8
3
.husky/pre-push
Executable file
3
.husky/pre-push
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
bun prettier --write --ignore-unknown $(git diff --name-only HEAD~1 HEAD)
|
||||||
|
bun run typecheck
|
||||||
Loading…
x
Reference in New Issue
Block a user