From e8bed584a5eb8c04e9d1d8973d717036def33cf3 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 8 Jul 2023 23:52:47 +0200 Subject: [PATCH] Finalized config --- .gitlab-ci.yml | 2 +- unlighthouse.config.ts | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) 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", +}