chore: update pre-commit (#3017)
This commit is contained in:
1 parent
c6ccd6d5de
commit
e158c09160
1 file changed
+4
-1
+4
-1
@@ -2,11 +2,14 @@
|
|||||||
. "$(dirname -- "$0")/_/husky.sh"
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
# check lockfile is up to date
|
# check lockfile is up to date
|
||||||
yarn install --mode=update-lockfile
|
yarn install --mode=skip-build --inline-builds --immutable
|
||||||
|
|
||||||
# build infra code
|
# build infra code
|
||||||
yarn -T run build:infra
|
yarn -T run build:infra
|
||||||
|
|
||||||
|
# generate prisma client type
|
||||||
|
yarn workspace @affine/server prisma generate
|
||||||
|
|
||||||
# lint staged files
|
# lint staged files
|
||||||
yarn exec lint-staged
|
yarn exec lint-staged
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user