From a269f4b0ee5ddc11887a73205e7c2aa91155e481 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Thu, 12 Feb 2026 16:04:53 -0600 Subject: [PATCH] fix(#364): add build-shared step to API pipeline The lint and typecheck steps fail because @mosaic/shared isn't built. Add a build-shared step that compiles the shared package before lint and typecheck run, both of which now depend on build-shared in addition to prisma-generate. Fixes #364 Co-Authored-By: Claude Opus 4.6 --- .woodpecker/api.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.woodpecker/api.yml b/.woodpecker/api.yml index 6c356bb..7429f3c 100644 --- a/.woodpecker/api.yml +++ b/.woodpecker/api.yml @@ -60,6 +60,7 @@ steps: - pnpm --filter "@mosaic/api" lint depends_on: - prisma-generate + - build-shared prisma-generate: image: *node_image @@ -71,6 +72,16 @@ steps: depends_on: - install + build-shared: + image: *node_image + environment: + SKIP_ENV_VALIDATION: "true" + commands: + - *use_deps + - pnpm --filter "@mosaic/shared" build + depends_on: + - install + typecheck: image: *node_image environment: @@ -80,6 +91,7 @@ steps: - pnpm --filter "@mosaic/api" typecheck depends_on: - prisma-generate + - build-shared prisma-migrate: image: *node_image