feat: separate pipeline steps for frontend and backend
This commit is contained in:
parent
34ef10c6e6
commit
bb9cd154fb
@ -1,5 +1,4 @@
|
||||
pipeline:
|
||||
|
||||
frontend:
|
||||
image: node:16-alpine
|
||||
commands:
|
||||
|
6
Makefile
6
Makefile
@ -7,9 +7,7 @@ info:
|
||||
@echo available targets:
|
||||
@perl -ne 'm/^([\w\-]+):/ && print(" $$1\n");' Makefile
|
||||
|
||||
setup: check-tools setup-code
|
||||
|
||||
check-tools:
|
||||
setup
|
||||
@echo "I checking for tools"
|
||||
@for binary in go tmux node yarn npx podman; do \
|
||||
echo -n " $$binary: " ; \
|
||||
@ -18,8 +16,6 @@ check-tools:
|
||||
exit 1 ;\
|
||||
fi ;\
|
||||
done
|
||||
|
||||
setup-code:
|
||||
@echo "I installing client dependencies"
|
||||
( cd client && yarn install )
|
||||
@echo "I installing server dependencies"
|
||||
|
Loading…
Reference in New Issue
Block a user