Skip to content

Commit

Permalink
add timeout to test server
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryD committed Nov 12, 2023
1 parent 8ae0e4d commit d626ca8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
name: "Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
Expand Down
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default defineConfig({
webServer: {
command: 'pnpm run start',
url: 'http://127.0.0.1:4200',
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
});

0 comments on commit d626ca8

Please sign in to comment.