Install all workspaces in the server CI job so SWC's native binary is present

The server vitest config transforms via unplugin-swc, which needs @swc/core's platform-specific native binary. A workspace-scoped 'npm ci --workspace server' skips that optional dependency, so vitest failed to load the config on the Linux runner. Use a full 'npm ci'.
This commit is contained in:
Maurice
2026-05-31 20:22:54 +02:00
parent fb36ae5678
commit 0ccc5d5d26
+3 -1
View File
@@ -49,7 +49,9 @@ jobs:
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci --workspace shared && npm ci --workspace server
# Full install (not workspace-scoped) so @swc/core's platform-specific
# native binary is present — server tests transform via unplugin-swc.
run: npm ci
- name: Build shared
run: npm run build --workspace=shared