Skip to content

Commit 22e6756

Browse files
committed
playwright
1 parent a4bd894 commit 22e6756

File tree

4 files changed

+429
-217
lines changed

4 files changed

+429
-217
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ jobs:
3232
node-version: lts/*
3333
- name: Install dependencies
3434
run: npm ci
35+
- name: Build the app
36+
run: npm run build
3537
- name: Install Playwright Browsers
3638
run: npx playwright install --with-deps
3739
- name: Run Vite tests
3840
run: CI=true npm test
3941
- name: Run Playwright tests
40-
run: CI=true npm run test:e2e
42+
run: CI=true RUN_COMMAND='npm run preview' npm run test:e2e
4143
- uses: actions/upload-artifact@v4
4244
if: ${{ !cancelled() }}
4345
with:

0 commit comments

Comments
 (0)