From c5f5e606b094ef952b1be0d7c416416f74634dec Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 5 Jul 2023 01:42:14 +0800 Subject: [PATCH] chore: update pre-commit (#3017) --- .husky/pre-commit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 1707175e87..e373f54064 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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