Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit f3e4bf7

Browse files
committed
fix: specify chromium dependency for playwright installation
1 parent be17dad commit f3e4bf7

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "2.0.4",
66
"license": "MIT",
77
"scripts": {
8-
"install:playwright": " pnpm exec playwright install --with-deps",
8+
"install:playwright": " pnpm exec playwright install --with-deps chromium",
99
"postinstall": "pnpm install:playwright",
1010
"dev": "astro telemetry disable && astro dev --host",
1111
"start": "astro dev --host",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"genai:technical": "cd docs && pnpm genai:technical",
4646
"genai:test": "node packages/cli/dist/src/index.js run test-gen",
4747
"genai:tweetify": "node packages/cli/dist/src/index.js run tweetify",
48-
"install:playwright": "pnpm playwright install --with-deps",
48+
"install:playwright": "pnpm playwright install --with-deps chromium",
4949
"lint:check": "turbo lint:check",
5050
"lint:fix": "turbo lint:fix",
5151
"ollama": "pnpm ollama:stop && pnpm ollama:start",

packages/cli/src/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ RUN npm ci
307307
${
308308
playwright
309309
? dedent`# Install playwright dependencies
310-
RUN npx --yes playwright install --with-deps
310+
RUN npx --yes playwright install --with-deps chromium
311311
312312
`
313313
: ""

packages/runtime/src/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "module"
3+
}

0 commit comments

Comments
 (0)