mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci: setup husky pre-push hook to run typecheck
This commit is contained in:
parent
1c878c662b
commit
22d5be9bf8
1 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue