feat: separate pipeline steps for frontend and backend
This commit is contained in:
parent
14546cd7b8
commit
34ef10c6e6
@ -1,28 +1,15 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
|
||||||
image: node:16-alpine
|
|
||||||
commands:
|
|
||||||
- apk add make
|
|
||||||
- apk add go
|
|
||||||
- apk add go-bindata
|
|
||||||
- make setup-code
|
|
||||||
- (cd client/ && yarn generate)
|
|
||||||
- make -C server build
|
|
||||||
when:
|
|
||||||
branch: none
|
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: node:16-alpine
|
image: node:16-alpine
|
||||||
commands:
|
commands:
|
||||||
- date
|
- ( cd client && yarn install )
|
||||||
- ls -l
|
- ( cd client/ && yarn generate )
|
||||||
- date >step-frontend.txt
|
- mkdir -p client/.output/public/
|
||||||
- ls -l
|
|
||||||
backend:
|
backend:
|
||||||
image: golang:1.18
|
image: golang:1.18
|
||||||
commands:
|
commands:
|
||||||
- date
|
- apk add go-bindata
|
||||||
- ls -l
|
- make -C server setup
|
||||||
- date >step-backend.txt
|
- make -C server build
|
||||||
- ls -l
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user