Finalized config
This commit is contained in:
parent
38cc096e7e
commit
e8bed584a5
2 changed files with 9 additions and 2 deletions
|
@ -99,7 +99,7 @@ unlighthouse:
|
||||||
- npm install @unlighthouse/cli puppeteer
|
- npm install @unlighthouse/cli puppeteer
|
||||||
- mkdir unlighthouse-reports
|
- mkdir unlighthouse-reports
|
||||||
script:
|
script:
|
||||||
- node_modules/.bin/unlighthouse-ci --site staging.firq.dev --budget 75 --build-static --output-path ./unlighthouse-reports
|
- node_modules/.bin/unlighthouse-ci
|
||||||
- cp public/serve.json unlighthouse-reports
|
- cp public/serve.json unlighthouse-reports
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
export default {
|
export default {
|
||||||
|
site: 'http://192.168.178.141:9100',
|
||||||
puppeteerOptions: {
|
puppeteerOptions: {
|
||||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
||||||
},
|
},
|
||||||
|
ci: {
|
||||||
|
budget: 90,
|
||||||
|
buildStatic: true
|
||||||
|
},
|
||||||
|
auth: { username: "staging", password: "staging" },
|
||||||
|
outputPath: "unlighthouse-reports",
|
||||||
}
|
}
|
Loading…
Reference in a new issue