mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 21:53:34 +08:00
chore: add actions lint
This commit is contained in:
parent
d81bbf083a
commit
e49f23c7db
9
.github/workflows/check.yml
vendored
9
.github/workflows/check.yml
vendored
|
@ -24,3 +24,12 @@ jobs:
|
|||
- run: pnpm install
|
||||
|
||||
- run: pnpm run check
|
||||
|
||||
- run: |
|
||||
pnpm run format
|
||||
pnpm run lint
|
||||
git_status=$(git status --porcelain)
|
||||
if [ -n "$git_status" ]; then
|
||||
echo "提交代码风格不合规"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user