chore: update pre-commit hook (#2904)

This commit is contained in:
Alex Yang 2023-06-28 19:24:37 +08:00 committed by GitHub
parent 5496969e58
commit bc14d54cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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