FoundKey/.woodpecker/lint-backend.yml
Chloe Kudryavtsev 20c0a7c6f4 chore: limit CI to PR only
this is a temporary stopgap measure
2022-08-25 12:29:34 -04:00

22 lines
394 B
YAML

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