diff --git a/.woodpecker.yml b/.woodpecker.yml index ff10b64..9369479 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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 - \ No newline at end of file + - apk add go-bindata + - make -C server setup + - make -C server build \ No newline at end of file