diff --git a/.woodpecker/.frontend.yml b/.woodpecker/.frontend.yml index 167d368..73ab51b 100644 --- a/.woodpecker/.frontend.yml +++ b/.woodpecker/.frontend.yml @@ -25,24 +25,28 @@ steps: "lint:style": image: *frontend_image + depends_on: ["prepare:frontend"] commands: - pnpm run prettier directory: frontend "lint:analyze": image: *frontend_image + depends_on: ["prepare:frontend"] commands: - pnpm run lint directory: frontend "build:frontend": image: *frontend_image + depends_on: ["prepare:frontend"] commands: - pnpm run build directory: frontend "build:tsc": image: *frontend_image + depends_on: ["prepare:frontend"] commands: - pnpm add typescript - pnpm run typecheck @@ -50,6 +54,7 @@ steps: "analyze:sbom": image: *frontend_image + depends_on: ["prepare:frontend"] commands: - rm -rf node_modules - npm install @@ -58,6 +63,7 @@ steps: "deploy:frontend": image: alpine:latest + depends_on: ["build:frontend"] commands: - echo "deploy frontend" - env