[#44] Added some stuff to cicd file

This commit is contained in:
Jef Roosens 2021-04-29 11:43:53 +02:00
parent 28bb959c12
commit d2ad0591f6
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

View file

@ -1,9 +1,18 @@
pipeline: pipeline:
test: build-frontend:
image: node:15-alpine3.13
pull: true
commands:
- cd web && yarn install
- cd web && yarn run build
test-backend:
image: chewingbever/fej-builder:latest image: chewingbever/fej-builder:latest
# Always update the builder image # Always update the builder image
pull: true pull: true
commands: commands:
- cargo test - cargo test
# TODO build dev & rel image, deploy these images
branches: [ master, develop ] branches: [ master, develop ]