Skip to content

Commit c35e8c9

Browse files
committed
feat: github action run the e2e
1 parent c2708d5 commit c35e8c9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: npx wait-on http://localhost:3333
5555

5656
- name: 🌐 Install Playwright browsers
57-
run: cd e2e && npx playwright install --with-deps && cd ..
57+
run: cd e2e && yarn install && cd ..
5858

5959
- name: ✅ Run Playwright E2E tests
6060
run: cd e2e && yarn test && cd ..

e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "todomvc-test",
2+
"name": "e2e",
33
"version": "0.0.1",
44
"scripts": {
5-
"postinstall": "npx playwright install-deps && npx playwright install",
5+
"install": "npx playwright install-deps && npx playwright install",
66
"test": "npx playwright test"
77
},
88
"keywords": [],

0 commit comments

Comments
 (0)