2022-11-04 20:36:24 +00:00
|
|
|
pipeline:
|
2022-11-05 20:54:26 +00:00
|
|
|
frontend:
|
|
|
|
image: node:16-alpine
|
2022-11-05 20:18:08 +00:00
|
|
|
commands:
|
2022-11-05 20:58:46 +00:00
|
|
|
- ( cd client && yarn install )
|
|
|
|
- ( cd client/ && yarn generate )
|
2022-11-05 21:03:26 +00:00
|
|
|
- mkdir -p client/.output/public/
|
2022-11-06 08:17:17 +00:00
|
|
|
when:
|
|
|
|
branch: woodpecker
|
2022-11-05 20:58:46 +00:00
|
|
|
|
2022-11-05 21:03:26 +00:00
|
|
|
backend:
|
2022-11-06 08:15:37 +00:00
|
|
|
image: golang:1.18-alpine
|
2022-11-05 21:03:26 +00:00
|
|
|
commands:
|
|
|
|
- apk add go-bindata
|
2022-11-06 08:17:17 +00:00
|
|
|
- apk add make
|
2022-11-05 21:03:26 +00:00
|
|
|
- make -C server setup
|
|
|
|
- make -C server build
|
2022-11-06 08:17:17 +00:00
|
|
|
when:
|
|
|
|
branch: woodpecker
|