Skip to content

Commit 785d28b

Browse files
committed
fix(git): run tests only on pre-push
Keep commits lightweight while enforcing formatting and tests before code is pushed.
1 parent 4a085a7 commit 785d28b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.husky/pre-commit

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-push

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
echo "Checking formatting before push..."
22
pnpm format:check
3+
echo "Running tests before push..."
4+
pnpm test
35

0 commit comments

Comments
 (0)