Skip to content

Commit 816b17c

Browse files
authored
Merge pull request #221 from codeunia-dev/production-readiness-improvements
fix: Improve Lighthouse CI server startup reliability
2 parents 3cbaa52 + ddf0da4 commit 816b17c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lighthouserc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ module.exports = {
1010
'http://localhost:3000/protected/dashboard'
1111
],
1212
startServerCommand: 'npm run build && npm run start',
13-
startServerReadyPattern: 'ready on',
14-
startServerReadyTimeout: 30000,
15-
numberOfRuns: 3,
13+
startServerReadyPattern: 'Ready in|ready on|Local:',
14+
startServerReadyTimeout: 120000,
15+
numberOfRuns: 1,
1616
settings: {
17-
chromeFlags: '--no-sandbox --disable-dev-shm-usage',
17+
chromeFlags: '--no-sandbox --disable-dev-shm-usage --disable-gpu',
1818
preset: 'desktop'
1919
}
2020
},

0 commit comments

Comments
 (0)