Skip to content

Commit 8f8053b

Browse files
committed
Start Vite dev server in Playwright workflow for testing
1 parent f0ed0b3 commit 8f8053b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
run: npm install -g pnpm && pnpm install
1818
- name: Install Playwright Browsers
1919
run: pnpm exec playwright install --with-deps
20+
- name: Start Vite dev server
21+
run: pnpm exec vite --port 3000 &
2022
- name: Run Playwright tests
2123
run: pnpm exec playwright test
2224
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)