mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-10 16:46:01 +03:00
15 lines
235 B
Bash
Executable File
15 lines
235 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# check lockfile is up to date
|
|
yarn install --mode=update-lockfile
|
|
|
|
# lint staged files
|
|
yarn exec lint-staged
|
|
|
|
# type check
|
|
yarn typecheck
|
|
|
|
# circular dependency check
|
|
yarn circular
|