forked from FoundKeyGang/FoundKey
chore(ci): add a dedicated build pipeline
This commit is contained in:
parent
7358d95e02
commit
1506df3b94
1 changed files with 24 additions and 0 deletions
24
.woodpecker/build.yml
Normal file
24
.woodpecker/build.yml
Normal 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
|
Loading…
Reference in a new issue