fej/.woodpecker.yml

19 lines
433 B
YAML
Raw Normal View History

2021-04-24 09:33:42 +02:00
pipeline:
2021-04-29 11:43:53 +02:00
build-frontend:
image: node:15-alpine3.13
pull: true
commands:
- cd web && yarn install
- cd web && yarn run build
test-backend:
2021-04-24 09:33:42 +02:00
image: chewingbever/fej-builder:latest
2021-04-24 12:44:53 +02:00
# Always update the builder image
pull: true
2021-04-24 09:33:42 +02:00
commands:
- cargo test
2021-04-24 12:44:53 +02:00
2021-04-29 11:43:53 +02:00
# TODO build dev & rel image, deploy these images
2021-04-24 12:44:53 +02:00
branches: [ master, develop ]