Skip to content

Commit

Permalink
ci: upload playwright reports (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Jan 30, 2025
1 parent 5502ba2 commit deaf845
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ jobs:

- name: Run playwright dev tests
run: pnpm e2e:dev

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: ./**/playwright-report
retention-days: 1
2 changes: 1 addition & 1 deletion examples/api/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ export default defineConfig({
command: "pnpm preview:worker",
url: "http://localhost:8770",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});
2 changes: 1 addition & 1 deletion examples/create-next-app/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ export default defineConfig({
command: "pnpm preview:worker",
url: "http://localhost:8771",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});
2 changes: 1 addition & 1 deletion examples/e2e/app-pages-router/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ export default defineConfig({
command: "pnpm preview",
url: "http://localhost:8792",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});
2 changes: 1 addition & 1 deletion examples/e2e/app-router/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ export default defineConfig({
command: "pnpm preview",
url: "http://localhost:8790",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});
2 changes: 1 addition & 1 deletion examples/e2e/pages-router/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ export default defineConfig({
command: "pnpm preview",
url: "http://localhost:8791",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});
2 changes: 1 addition & 1 deletion examples/middleware/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ export default defineConfig({
command: "pnpm preview:worker",
url: "http://localhost:8774",
reuseExistingServer: !process.env.CI,
timeout: 70_000,
timeout: 100_000,
},
});

0 comments on commit deaf845

Please sign in to comment.