add ci #1

Merged
keligrubb merged 15 commits from add-ci into main 2026-02-12 19:50:45 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 7402c29775 - Show all commits

View File

@@ -21,7 +21,6 @@ steps:
depends_on: []
commands:
- npm ci
- ./scripts/gen-dev-cert.sh
- npm run test:e2e
environment:
NODE_TLS_REJECT_UNAUTHORIZED: "0"

View File

@@ -35,6 +35,7 @@ export default defineConfig({
name: 'desktop-chrome',
use: {
...devices['Desktop Chrome'],
permissions: ['camera', 'microphone', 'geolocation'],
launchOptions: {
args: [
'--use-fake-ui-for-media-stream',
@@ -57,5 +58,5 @@ export default defineConfig({
timeout: 180_000, // 3 minutes (180 seconds) for server startup (CI can be slower)
ignoreHTTPSErrors: true,
},
timeout: 60_000, // 60 seconds per test (WebRTC setup takes time)
timeout: process.env.CI ? 180_000 : 60_000, // 3 minutes in CI, 1 minute locally (WebRTC setup takes time)
})