diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cfc6f6..6c58b08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,7 +99,7 @@ unlighthouse: - npm install @unlighthouse/cli puppeteer - mkdir unlighthouse-reports 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 artifacts: paths: diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index ab8f97b..4e05d89 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -1,5 +1,12 @@ export default { + site: 'http://192.168.178.141:9100', puppeteerOptions: { args: ["--no-sandbox", "--disable-setuid-sandbox"], }, - } \ No newline at end of file + ci: { + budget: 90, + buildStatic: true + }, + auth: { username: "staging", password: "staging" }, + outputPath: "unlighthouse-reports", +}