chore: update pre-commit (#3017)

This commit is contained in:
Alex Yang
2023-07-05 01:42:14 +08:00
parent b45c8b582e
commit c5f5e606b0
+4 -1
View File
@@ -2,11 +2,14 @@
. "$(dirname -- "$0")/_/husky.sh"
# check lockfile is up to date
yarn install --mode=update-lockfile
yarn install --mode=skip-build --inline-builds --immutable
# build infra code
yarn -T run build:infra
# generate prisma client type
yarn workspace @affine/server prisma generate
# lint staged files
yarn exec lint-staged