Skip to content

Commit 3987b24

Browse files
committed
re-order test and upload steps
1 parent 36ab386 commit 3987b24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ jobs:
4040
- name: Install Playwright
4141
run: pnpm exec playwright install --with-deps
4242

43+
- name: Run Tests
44+
run: pnpm run test
45+
4346
- name: Upload Playwright Report
4447
uses: actions/upload-artifact@v4
4548
if: ${{ !cancelled() }}
4649
with:
4750
name: playwright-report
4851
path: playwright-report/
4952
retention-days: 30
50-
51-
- name: Run Tests
52-
run: pnpm run test

playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { PlaywrightTestConfig } from '@playwright/test';
22

33
const config: PlaywrightTestConfig = {
44
webServer: {
5-
command: 'npm run build && npm run preview',
5+
command: 'pnpm run build && pnpm run preview',
66
port: 4173,
77
},
88
testDir: 'tests',

0 commit comments

Comments
 (0)