Skip to content

Commit ce8be76

Browse files
committed
fix(ci): install Playwright Chromium in deploy test job
The Deploy workflow test job runs  ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/home/lc/Documents/Checkouts/github.com/ZeroPathAI/openerrata"., which includes extension e2e tests via Playwright. After adding e2e to the shared test script, deploy CI started failing because browsers were not installed in this workflow. Add the same browser install step used in release workflows: - Installing dependencies... Switching to root user to install dependencies... Failed to install browsers Error: Installation process exited with code: 1 undefined /home/lc/Documents/Checkouts/github.com/ZeroPathAI/openerrata/src/typescript/extension:  ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command failed with exit code 1: playwright install --with-deps chromium This keeps deploy CI aligned with the repo test contract and unblocks downstream deploy/promote jobs.
1 parent 78149a1 commit ce8be76

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ jobs:
294294
- name: Install dependencies
295295
run: pnpm install --frozen-lockfile
296296

297+
- name: Install Playwright Chromium
298+
run: pnpm --filter @openerrata/extension exec playwright install --with-deps chromium
299+
297300
- name: Generate Prisma client
298301
run: pnpm db:generate
299302

0 commit comments

Comments
 (0)