[#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 ]
# =====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=====
lint-frontend:
image: node:15-alpine3.13
@ -21,27 +40,11 @@ pipeline:
lint-backend:
image: chewingbever/fej-builder:latest
pull: true
group: lint
commands:
- 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=====
test-backend:
image: chewingbever/fej-builder:latest