FoundKey/.woodpecker/lint-backend.yml
Johann150 7358d95e02
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
add extra step for installing/building
This should make the CI output more readable.
2022-07-18 10:59:55 +02:00

24 lines
424 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1 # CI does not need commit history
recursive: true
pipeline:
install:
when:
event:
- push
- pull_request
image: node:18.6.0
commands:
- yarn install
lint:
when:
event:
- push
- pull_request
image: node:18.6.0
commands:
- yarn --cwd ./packages/backend lint