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:
|
2022-09-07 18:02:45 +00:00
|
|
|
install:
|
2022-07-18 08:36:57 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
image: node:18.6.0
|
|
|
|
commands:
|
2022-08-26 19:50:20 +00:00
|
|
|
- yarn install
|
2022-09-07 18:02:45 +00:00
|
|
|
lint:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
image: node:18.6.0
|
|
|
|
commands:
|
2022-08-26 19:33:39 +00:00
|
|
|
- yarn workspace backend run lint
|