Skip to content

Commit 645f2f4

Browse files
committed
pre-install playwright
1 parent 6433386 commit 645f2f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: ⬣ ESLint
3636
run: npm run lint
3737

38+
- name: ⬇️ Install Playwright
39+
run: npm --prefix epicshop run test:setup
40+
3841
- name: 🧪 In-browser tests
3942
run: npm --prefix epicshop test
4043

epicshop/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"type": "module",
33
"scripts": {
4+
"test:setup": "playwright install chromium --with-deps",
45
"test": "playwright test"
56
},
67
"dependencies": {

0 commit comments

Comments
 (0)