fej/.woodpecker.yml

34 lines
835 B
YAML

pipeline:
build-frontend:
image: node:15-alpine3.13
pull: true
commands:
- cd web
- yarn install
- yarn run build
lint-frontend:
image: node:15-alpine3.13
commands:
- cd web
- yarn run lint
# This doesn't require compiling anything
lint-backend:
image: chewingbever/fej-builder:latest
pull: true
commands:
- cargo fmt -- --check
# Backend cicd jobs are disabled until we can figure out a way to cache stuff
# test-backend:
# image: chewingbever/fej-builder:latest
# # Always update the builder image
# pull: true
# commands:
# - cargo test
# TODO build dev & rel image, deploy these images
# branches: [ master, develop ]