mower-ng/.woodpecker/check_format.yml
2024-11-08 12:30:31 +08:00

20 lines
389 B
YAML

when:
- event: push
branch:
exclude:
- fast
- slow
skip_clone: true
steps:
- name: check
image: git.zhaozuohong.vip/mower-ng/ci
environment:
GIT_LFS_SKIP_SMUDGE: "1"
commands:
- git clone ${CI_REPO_CLONE_URL} --branch ${CI_COMMIT_BRANCH} --depth 1 .
- ruff check
- ruff format --check
- cd ui
- npm run check