-
Notifications
You must be signed in to change notification settings - Fork 0
/
lighthouserc.yml
43 lines (41 loc) · 1.05 KB
/
lighthouserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
# Lighthouse can't run Use this
ci:
assert:
preset: lighthouse:recommended
assertions:
offscreen-images: 'off'
uses-webp-images: 'off'
color-contrast: 'off'
interactive:
- error
- maxNumericValue: 3000
aggregationMethod: optimistic
first-meaningful-paint:
- error
- maxNumericValue: 1000
aggregationMethod: optimistic
collect:
method: node
additive: false
headful: false
numberOfRuns: 1
puppeteerScript: "./preRunPuppeteer.js"
url:
- https://www.reddit.com
- https://www.gurucharan.in/web/nodejs/lighthouse-ci-the-complete-guide-part-1/
# This is commented out for a reason... check package.json
# settings:
# config-path: "./lighthouseConfig.js"
upload:
target: lhci
serverbaseurl: http://localhost:9001
# Requires updating every time...
token: 775f8059-8f21-45fd-9a9f-7cbfe40469d0
server:
logLevel: silent
port: 9001
storage:
storageMethod: sql
sqlDialect: sqlite
sqlDatabasePath: lhci.db