pull/72/head
parent
2a14703097
commit
01aa4bae80
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue