Skip to content

Commit 6509e28

Browse files
committed
fix(ci): build root dist before configurator E2E tests
PreviewPanel.svelte imports dist/slashed.full.css via Vite's ?raw query. The dist CSS files are gitignored and must be produced by `npm run build` at the repo root before the Vite build inside the Configurator tests job can succeed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017FGqcDvhJ6HEFpT7WRwqib
1 parent a636bad commit 6509e28

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ jobs:
180180
# Type/diagnostics gate (kept at 0 errors / 0 warnings).
181181
- run: npm run check
182182
working-directory: configurator
183+
# Build root dist/ so PreviewPanel.svelte's ?raw CSS import resolves
184+
# during the Vite build. dist/*.css is gitignored and only produced by
185+
# `npm run build` at the repo root.
186+
- run: npm run build
183187
# Browser regression suite (test:e2e prebuilds; Playwright manages the
184188
# preview server via its webServer option). Cross-engine: the full suite
185189
# runs on Chromium; core behaviour + the dogfood/isolation contract also

0 commit comments

Comments
 (0)