Skip to content

Commit

Permalink
Enable ts test before commit
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Aug 3, 2022
1 parent e813447 commit 57096db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn test:ts
yarn lint-staged

SRC_PATTERN="packages/address-book"
if git diff --cached --name-only | grep --quiet "$SRC_PATTERN"
then
cd packages/address-book
yarn test:ts
yarn lint-staged
yarn checksum
fi

0 comments on commit 57096db

Please sign in to comment.