ci: setup husky pre-push hook to run typecheck

pull/2831/head
Dax Raad 2025-09-26 02:00:42 -04:00
parent 1c878c662b
commit 22d5be9bf8
1 changed files with 3 additions and 0 deletions

3
.husky/pre-push 100755
View File

@ -0,0 +1,3 @@
#!/bin/sh
bun prettier --write --ignore-unknown $(git diff --name-only HEAD~1 HEAD)
bun run typecheck