Skip to content

Commit a1c50e9

Browse files
committed
fix: Add playwright dependency to resolve build error
1 parent a872fde commit a1c50e9

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"version": "0.0.1",
55
"private": true,
66
"scripts": {
7-
"postinstall": "npx playwright install",
7+
"postinstall": "pnpx playwright install",
88
"dev": "astro dev",
99
"start": "astro dev",
1010
"generate-pdf": "node ./scripts/generate-pdf.js",
1111
"generate-pdf:ci": "PDF_VIEW=true start-server-and-test http://localhost:4321 generate-pdf",
1212
"prebuild": "astro check && tsc --noEmit",
13-
"build": "yarn generate-pdf:ci && astro build",
13+
"build": "pnpm run generate-pdf:ci && astro build",
1414
"build:light": "FORCE_THEME=light astro build",
1515
"build:dark": "FORCE_THEME=dark astro build"
1616
},
@@ -19,6 +19,7 @@
1919
"@fontsource/open-sans": "^5.2.6",
2020
"@netlify/plugin-lighthouse": "^6.0.1",
2121
"@playwright/test": "^1.52.0",
22+
"playwright": "^1.54.2",
2223
"@tailwindcss/typography": "^0.5.16",
2324
"@types/node": "^22.13.8",
2425
"netlify-plugin-playwright-cache": "^0.0.1",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)