Planning
- Plan ID: N9
- Depends on: None
- PRD alignment: NFR-1
Problem
The frontend CI enforces the root lockfile while the E2E job caches apps/web/package-lock.json and runs a workspace-scoped install, creating an inconsistent and currently fragile dependency path.
Scope
Make every Node job install from the repository root with npm ci, cache the root package-lock.json, and run workspace scripts from root. Keep Playwright browser caching and single-worker behavior.
Acceptance criteria
- CI contains no reference to
apps/web/package-lock.json.
- Frontend and E2E jobs use the same Node/npm versions and install command.
- Workspace layout validation runs before install-dependent checks where practical.
- CI YAML is covered by the existing workspace/check script or a focused static test.
Verification
npm run check:workspace && npm test plus a green CI run
Planning
Problem
The frontend CI enforces the root lockfile while the E2E job caches
apps/web/package-lock.jsonand runs a workspace-scoped install, creating an inconsistent and currently fragile dependency path.Scope
Make every Node job install from the repository root with
npm ci, cache the rootpackage-lock.json, and run workspace scripts from root. Keep Playwright browser caching and single-worker behavior.Acceptance criteria
apps/web/package-lock.json.Verification
npm run check:workspace && npm testplus a green CI run