2022-11-06 20:48:20 +01:00
|
|
|
# .woodpecker.yml
|
2022-11-07 19:58:17 +01:00
|
|
|
|
2022-11-06 20:48:20 +01:00
|
|
|
pipeline:
|
|
|
|
build:
|
2022-11-07 19:28:45 +01:00
|
|
|
image: node:16-alpine
|
2022-11-06 20:48:20 +01:00
|
|
|
commands:
|
2022-11-07 19:28:07 +01:00
|
|
|
- npm ci
|
|
|
|
- mkdir build
|
2022-11-07 19:30:23 +01:00
|
|
|
- npm run build
|
2022-11-07 19:28:07 +01:00
|
|
|
- ls build
|
2022-11-07 13:05:21 +01:00
|
|
|
when:
|
2022-11-07 20:09:26 +01:00
|
|
|
branch: master
|
|
|
|
platform: [ linux/*, windows/amd64 ]
|