mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
chore: update pre-commit hook (#2904)
This commit is contained in:
+4
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user