Skip to content

Commit 00b2208

Browse files
run playwright install first in CI
1 parent a26ffb2 commit 00b2208

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
node-version: lts/*
1616
- name: Install dependencies
1717
run: npm install -g pnpm && pnpm install
18+
- name: Install Playwright browsers
19+
run: pnpm run install-playwright
1820
- name: Run Playwright tests
19-
run: pnpm e2e
21+
run: pnpm run e2e
2022
# - uses: actions/upload-artifact@v4
2123
# if: always()
2224
# with:

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
"version": "0.0.0.0",
44
"private": true,
55
"devDependencies": {
6-
"prettier": "3.3.3"
6+
"prettier": "3.3.3",
7+
"@playwright/test": "1.47.0"
78
},
89
"scripts": {
910
"prettier:check": "prettier --check .",
1011
"prettier:fix": "prettier --write .",
1112
"postinstall": "pnpm --filter builder build",
13+
"install-playwright": "playwright install --with-deps",
1214
"e2e": "pnpm -r e2e"
1315
}
1416
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)