mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 21:31:32 +03:00
chore: update pre-commit hook (#2904)
This commit is contained in:
parent
5496969e58
commit
bc14d54cfa
@ -2,7 +2,10 @@
|
|||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
# check lockfile is up to date
|
# check lockfile is up to date
|
||||||
yarn install
|
yarn install --mode=update-lockfile
|
||||||
|
|
||||||
# lint staged files
|
# lint staged files
|
||||||
yarn exec lint-staged
|
yarn exec lint-staged
|
||||||
|
|
||||||
|
# type check
|
||||||
|
yarn typecheck
|
||||||
|
Loading…
Reference in New Issue
Block a user