Finalized config

This commit is contained in:
Firq 2023-07-08 23:52:47 +02:00
parent 38cc096e7e
commit e8bed584a5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 9 additions and 2 deletions

View file

@ -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:

View file

@ -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",
}