diff --git a/.woodpecker.yml b/.woodpecker.yml index 788d3c7..ab5f147 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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