FoundKey-0x7f/.woodpecker/lint-backend.yml

25 lines
424 B
YAML
Raw Normal View History

2022-07-18 07:15:32 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1 # CI does not need commit history
recursive: true
pipeline:
install:
2022-07-18 07:15:32 +00:00
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:
2022-07-18 07:15:32 +00:00
- yarn --cwd ./packages/backend lint