mirror of https://github.com/halo-dev/halo
chore: remove the step to run unit tests and typecheck before git commit (halo-dev/console#658)
#### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 移除在 Git Commit 之前运行单元测试和类型检查的步骤。因为目前 main 分支处于保护分支,无法直接推送代码。所以仅在 PR 中的 Action 来运行这两个步骤即可。 #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console #### Does this PR introduce a user-facing change? ```release-note None ```pull/3445/head
parent
eaf11a65b6
commit
33b665788a
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
pnpm test:unit
|
||||
pnpm typecheck
|
||||
pnpm prettier
|
||||
pnpm lint
|
||||
|
|
Loading…
Reference in New Issue