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

pull/62/head
Jef Roosens 2021-05-01 21:24:16 +02:00
parent 1da94c5211
commit 9946aaf001
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 12 additions and 6 deletions

View File

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