Skip to content

Commit 2fa7403

Browse files
committed
host method
1 parent a110611 commit 2fa7403

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ jobs:
3434

3535
- name: Install dependencies
3636
run: npm ci
37-
working-directory: /app
3837

3938
- name: Install Playwright Browsers
4039
run: npx playwright install --with-deps
41-
working-directory: /app
40+
41+
- name: Start Development Server
42+
run: npm run dev &
43+
env:
44+
HOST: 0.0.0.0
4245

4346
- name: Wait for application to be ready
4447
run: npx wait-on http://localhost:5173
4548

4649
- name: Run Playwright tests
4750
run: npx playwright test
48-
working-directory: /app

0 commit comments

Comments
 (0)