From 13a48becd62be10f1c00394ded942a2a0d60c6e3 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 8 Jul 2023 23:30:15 +0200 Subject: [PATCH] using path instead of -g --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 997cb10..1324689 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,10 +95,10 @@ unlighthouse: - main - tags before_script: - - npm install -g @unlighthouse/cli puppeteer + - npm install @unlighthouse/cli puppeteer - mkdir unlighthouse-reports script: - - unlighthouse-ci --site staging.firq.dev --budget 75 --build-static --output-path ./unlighthouse-reports + - node_modules/.bin/unlighthouse-ci --site staging.firq.dev --budget 75 --build-static --output-path ./unlighthouse-reports - cp public/serve.json unlighthouse-reports artifacts: paths: