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
|
|
|
|
|
2023-05-07 13:26:14 +00:00
|
|
|
depends_on:
|
|
|
|
- build
|
|
|
|
|
2022-07-18 07:15:32 +00:00
|
|
|
pipeline:
|
2022-07-18 08:36:57 +00:00
|
|
|
build:
|
2022-07-18 07:15:32 +00:00
|
|
|
when:
|
2023-05-07 13:26:14 +00:00
|
|
|
branch: main
|
|
|
|
event: push
|
2022-07-18 07:15:32 +00:00
|
|
|
image: node:18.6.0
|
|
|
|
commands:
|
|
|
|
- yarn install
|
|
|
|
- git diff --exit-code yarn.lock
|
|
|
|
- yarn build
|