mirror of https://github.com/halo-dev/halo-admin
chore: remove the step to run unit tests and typecheck before git commit (#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/660/head^2
parent
f77ec61465
commit
8948a4ccf9
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
pnpm test:unit
|
||||
pnpm typecheck
|
||||
pnpm prettier
|
||||
pnpm lint
|
||||
|
|
Loading…
Reference in New Issue