feat: separate pipeline steps for frontend and backend

This commit is contained in:
Settel 2022-11-05 21:58:46 +01:00
parent 14546cd7b8
commit 34ef10c6e6

View File

@ -1,28 +1,15 @@
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:
image: node:16-alpine
commands:
- date
- ls -l
- date >step-frontend.txt
- ls -l
- ( cd client && yarn install )
- ( cd client/ && yarn generate )
- mkdir -p client/.output/public/
backend:
image: golang:1.18
commands:
- date
- ls -l
- date >step-backend.txt
- ls -l
- apk add go-bindata
- make -C server setup
- make -C server build