Added frontend linting to cicd
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Jef Roosens 2021-05-01 21:24:16 +02:00
parent 1da94c5211
commit 9946aaf001
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F

View file

@ -6,13 +6,19 @@ pipeline:
- cd web && yarn install
- cd web && yarn run build
test-backend:
image: chewingbever/fej-builder:latest
# Always update the builder image
pull: true
lint-frontend:
image: node:15-alpine3.13
commands:
- cargo test
- cd web && yarn run lint
# 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 ]
# branches: [ master, develop ]