33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"ci": {
|
|
"collect": {
|
|
"url": [
|
|
"https://boiler.saas-ctrl.com/login",
|
|
"https://boiler.saas-ctrl.com/privacy-policy",
|
|
"https://boiler.saas-ctrl.com/terms-and-conditions"
|
|
],
|
|
"puppeteerScript": "./scripts/lighthouse-puppeteer-auth.cjs",
|
|
"numberOfRuns": 3,
|
|
"settings": {
|
|
"preset": "desktop",
|
|
"chromeFlags": "--no-sandbox --disable-dev-shm-usage"
|
|
}
|
|
},
|
|
"assert": {
|
|
"assertions": {
|
|
"categories:performance": ["error", { "minScore": 0.95 }],
|
|
"categories:accessibility": ["warn", { "minScore": 0.95 }],
|
|
"categories:best-practices": ["warn", { "minScore": 0.95 }],
|
|
"categories:pwa": ["warn", { "minScore": 0.9 }],
|
|
"first-contentful-paint": ["warn", { "maxNumericValue": 2500 }],
|
|
"largest-contentful-paint": ["warn", { "maxNumericValue": 3500 }],
|
|
"total-blocking-time": ["warn", { "maxNumericValue": 300 }],
|
|
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }]
|
|
}
|
|
},
|
|
"upload": {
|
|
"target": "temporary-public-storage"
|
|
}
|
|
}
|
|
}
|