chore: check+type

This commit is contained in:
lisonge
2023-09-15 11:45:58 +08:00
parent daf8fae33c
commit b0c06b5fda
2 changed files with 15 additions and 5 deletions

View File

@@ -28,8 +28,10 @@ jobs:
- run: |
pnpm run format
pnpm run lint
git status --porcelain
git_status=$(git status --porcelain)
if [ -n "$git_status" ]; then
git --no-pager diff
echo "提交代码风格不合规"
exit 1
fi