Skip to content

Commit

Permalink
add pre-push husky
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Aug 25, 2023
1 parent 6ca11eb commit 355ae98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run build
npx lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run build

0 comments on commit 355ae98

Please sign in to comment.