fix(docker): add --legacy-peer-deps to npm ci for svelte-markdown@0.4.1 compat

svelte-markdown@0.4.1 declares peer dependency svelte@^4.0.0, but the
project uses svelte@^5.43.8. In clean Docker builds, npm ci strictly
validates peer deps and fails. Adding --legacy-peer-deps works around
the incompatibility until svelte-markdown supports Svelte 5.
This commit is contained in:
2026-06-11 16:31:07 +03:00
parent b3d889b3c7
commit fdb7a94529
3 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ services:
- /tmp/playwright-report:/workspace/frontend/playwright-report
command: >
sh -c "
npm ci &&
npm ci --legacy-peer-deps &&
npx playwright install chromium &&
npx playwright test
"