FoundKey-0x7f/.woodpecker/lint-backend.yml
Johann150 7358d95e02
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