[#45] Re-ordered tasks to make them logical
continuous-integration/drone the build failed Details

pull/72/head
Jef Roosens 2021-05-11 21:41:54 +02:00
parent 2a14703097
commit 01aa4bae80
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 19 additions and 16 deletions

View File

@ -11,6 +11,25 @@ pipeline:
secrets: [ cache_s3_access_key, cache_s3_secret_key ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]
# =====BUILDING=====
build-frontend:
image: node:15-alpine3.13
pull: true
group: build
commands:
- cd web
- yarn install
- yarn run build
build-backend:
image: chewingbever/fej-builder:latest
pull: true
group: build
commands:
- cargo build
# =====LINTING===== # =====LINTING=====
lint-frontend: lint-frontend:
image: node:15-alpine3.13 image: node:15-alpine3.13
@ -21,27 +40,11 @@ pipeline:
lint-backend: lint-backend:
image: chewingbever/fej-builder:latest image: chewingbever/fej-builder:latest
pull: true
group: lint group: lint
commands: commands:
- cargo fmt -- --check - cargo fmt -- --check
# =====BUILDING=====
build-frontend:
image: node:15-alpine3.13
commands:
- cd web
- yarn install
- yarn run build
build-backend:
image: chewingbever/fej-builder:latest
commands:
- cargo build
# =====TESTING===== # =====TESTING=====
test-backend: test-backend:
image: chewingbever/fej-builder:latest image: chewingbever/fej-builder:latest