From a8bd9475307f8ca74ffa5f35c9d4be0f39810511 Mon Sep 17 00:00:00 2001 From: fjadmin Date: Mon, 6 Nov 2023 16:36:21 +0000 Subject: [PATCH] fix: failing pipelines (#2) Co-authored-by: Richard Attermeyer Reviewed-on: https://git.192.168.1.151.nip.io:8543/fjadmin/ci-demo-2/pulls/2 --- .woodpecker/.frontend.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.frontend.yml b/.woodpecker/.frontend.yml index b4cfc18..f884776 100644 --- a/.woodpecker/.frontend.yml +++ b/.woodpecker/.frontend.yml @@ -12,17 +12,28 @@ steps: "prepare": image: *frontend_image commands: - - cd frontend - pnpm install + directory: frontend "lint:style": image: *frontend_image commands: - - cd frontend - pnpm run prettier + directory: frontend "lint:analyze": image: *frontend_image commands: - - cd frontend - pnpm run lint + directory: frontend + "build:frontend": + image: *frontend_image + commands: + - pnpm run build + directory: frontend + "build:tsc": + image: *frontend_image + commands: + - pnpm add typescript + - pnpm run typecheck + directory: frontend depends_on: - "lint_general"