Skip to content

Commit 4a6271f

Browse files
committed
Add playwright install command to pretest script
1 parent 3cbaaa0 commit 4a6271f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
node-version: 24.x
1616

1717
- run: npm install --no-package-lock
18-
- name: Install Playwright for testing
19-
run: npx playwright install chromium
2018

2119
- run: npm test
2220

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"scripts": {
1515
"build": "rimraf dist/ && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.web.json",
16-
"pretest": "npm run build",
16+
"pretest": "npx playwright install chromium && npm run build",
1717
"test": "vitest --run",
1818
"prepare": "npm run build",
1919
"storybook": "storybook dev -p 6006",

0 commit comments

Comments
 (0)