25 lines
401 B
YAML
25 lines
401 B
YAML
|
clone:
|
||
|
git:
|
||
|
image: woodpeckerci/plugin-git
|
||
|
settings:
|
||
|
depth: 1 # CI does not need commit history
|
||
|
recursive: true
|
||
|
|
||
|
pipeline:
|
||
|
install:
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
image: node:18.6.0
|
||
|
commands:
|
||
|
- yarn install
|
||
|
build:
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
image: node:18.6.0
|
||
|
commands:
|
||
|
- yarn build
|