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:
|
2023-05-07 13:26:14 +00:00
|
|
|
branch: main
|
|
|
|
event: push
|
2022-07-18 08:36:57 +00:00
|
|
|
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:
|
2023-05-07 13:26:14 +00:00
|
|
|
branch: main
|
|
|
|
event: push
|
2022-09-07 18:02:45 +00:00
|
|
|
image: node:18.6.0
|
|
|
|
commands:
|
2022-08-26 19:33:39 +00:00
|
|
|
- yarn workspace client run lint
|