fix(ci): fix pipeline #365 — web build-shared + orchestrator secret scan
Some checks failed
ci/woodpecker/push/web Pipeline failed
ci/woodpecker/push/orchestrator Pipeline failed

- Add build-shared step to web.yml so lint/typecheck/test can resolve
  @mosaic/shared types (same fix previously applied to api.yml)
- Remove compiled .spec.js/.test.js files from orchestrator production
  image to prevent Trivy secret scanning false positives from test
  fixtures (fake AWS keys and RSA private keys in secret-scanner tests)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-12 17:25:49 -06:00
parent 3833805a93
commit 3b12adf8f7
3 changed files with 23 additions and 3 deletions

View File

@@ -43,6 +43,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
lint:
image: *node_image
environment:
@@ -51,7 +61,7 @@ steps:
- *use_deps
- pnpm --filter "@mosaic/web" lint
depends_on:
- install
- build-shared
typecheck:
image: *node_image
@@ -61,7 +71,7 @@ steps:
- *use_deps
- pnpm --filter "@mosaic/web" typecheck
depends_on:
- install
- build-shared
test:
image: *node_image
@@ -71,7 +81,7 @@ steps:
- *use_deps
- pnpm --filter "@mosaic/web" test
depends_on:
- install
- build-shared
# === Build ===