chore(ci): add a dedicated build pipeline

This commit is contained in:
Chloe Kudryavtsev 2022-07-18 06:45:03 -04:00
parent 7358d95e02
commit 1506df3b94
1 changed files with 24 additions and 0 deletions

24
.woodpecker/build.yml Normal file
View File

@ -0,0 +1,24 @@
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