using path instead of -g

This commit is contained in:
Firq 2023-07-08 23:30:15 +02:00
parent ee1d26a84d
commit 13a48becd6
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -95,10 +95,10 @@ unlighthouse:
- main - main
- tags - tags
before_script: before_script:
- npm install -g @unlighthouse/cli puppeteer - npm install @unlighthouse/cli puppeteer
- mkdir unlighthouse-reports - mkdir unlighthouse-reports
script: 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 - cp public/serve.json unlighthouse-reports
artifacts: artifacts:
paths: paths: