ci: run playwright install in the package context

playwright is a direct devDep of @robonen/primitives and @robonen/editor, not the root, so 'pnpm exec playwright' couldn't resolve the CLI in CI's strict install (Command "playwright" not found). Run it via 'pnpm --filter <pkg> exec' so the package's node_modules/.bin is on PATH.
This commit is contained in:
2026-06-08 16:53:25 +07:00
parent f40cc55497
commit 4458744dcf
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Install Playwright browser
run: pnpm exec playwright install --with-deps chromium
run: pnpm --filter "@robonen/primitives" exec playwright install --with-deps chromium
- name: Build & Test
run: pnpm build && pnpm test