Skip to content

Commit 6498a98

Browse files
committed
Add html reporter back
1 parent b511a15 commit 6498a98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949
- name: Run Playwright tests
5050
run: ./node_modules/.bin/playwright test
5151

52-
- name: Run unit tests
53-
run: pnpm test:unit
54-
5552
- uses: actions/upload-artifact@v4
5653
if: ${{ !cancelled() }}
5754
with:
5855
name: playwright-report
5956
path: playwright-report/
6057
retention-days: 30
58+
59+
- name: Run unit tests
60+
run: pnpm test:unit

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
forbidOnly: !!process.env.CI,
1111
retries: process.env.CI ? 2 : 0,
1212
workers: process.env.CI ? 1 : undefined,
13-
reporter: process.env.CI ? "github" : "list",
13+
reporter: process.env.CI ? [["github"], ["html"]] : "list",
1414
use: {
1515
baseURL: "http://localhost:3000",
1616
trace: "retain-on-first-failure",

0 commit comments

Comments
 (0)