Questions tagged [lighthouse-ci]
17 questions
4
votes
1 answer
Lighthouse GitLab CI for a Jekyll website times out
I haven't found any complete examples for Jekyll + Lighthouse GitLab jobs. The Jekyll build job is based on the ruby:2.6 image. I added a report stage into my .gitlab-ci.yml where I install the required nodejs, npm, and chromium for the LHCI…

Csaba Toth
- 10,021
- 5
- 75
- 121
1
vote
0 answers
How to add custom network throttling in playwright-lighthouse package
I want to add network throttling 3g config in the [playwright-lighthouse] package, I don't know where exactly to pass the config, even though I am running a CDP session I don't see a difference in lighthouse metrics report when run on slow 3g, the…

ali
- 492
- 2
- 7
- 18
1
vote
0 answers
Audit did not produce a value Cumulative Layout Shift in Lighthouse-CI
Audit did not produce a value Cumulative Layout Shift at all on all URLs on Bitbucket Pipeline. Received NaN
It does successfully execute the x runs on the other URLs, but it cannot produce a result. This only occurs when running it on BitBucket…

Renan Bessa
- 429
- 1
- 6
- 13
1
vote
0 answers
Can lighthouse-ci output the line of code that has error?
Currently using lighthouse-ci for CI pipeline. Whenever I run lighthouse-ci, the terminal output shows the failings of the website, but does not show which exact line of code is erroneous. The chrome extension however, does show the line of code…

worrier
- 81
- 1
- 7
1
vote
1 answer
Using Google Lighthouse with multiple sites simultaneously in a script
I need to use lighthouse to generate report for hundreds of websites, so i want to write a script (golang, nodejs or whatever) to do that.
Is there a way to run multiple website analyze from one chrome-driver instance with Lighthouse or do i need to…
user9278191
1
vote
1 answer
Lighhouse server invalid token - LHCI invalid token
I have installed LHCI(Light House CI) server on an AWS EC2 instance(or my own home-server). The server is up and running. I have the url
I can add projects to the CI server with @lhci/cli@0.3 wizard and the project I create through client wizard…

Jamie Jamier
- 459
- 6
- 18
0
votes
0 answers
How do you target desktop mode running Lighthouse in a pipeline
I'm running lighthouse for performance testing in a pipeline:
Github workflow:
- name: Run Lighthouse on urls and upload data to private lhci server
if: always()
uses: treosh/lighthouse-ci-action@v9
with:
configPath:…

D.Hodges
- 1,794
- 4
- 24
- 47
0
votes
0 answers
Lighthouse API: how to retrieve "diagnostics" part in CSV or JSON format? I can only do it in HTML format
On a website I would like to get both metrics value (like Core Web Vitals (LCP, FID, CLS)) and diagnostics (solutions to bad metrics value) when the metrics value is bad. Lighthouse (Chrome DevTools) can do it and there is Lighthouse API…

Coco697
- 1
0
votes
0 answers
Using lighthouse node module getting very high LCP value for the page compare to measuring it through chrome add on
I am using the lighthouse node module to measure the performance of my application pages. I have written a small node script that would use this module to measure the performance of the multiple pages of my application. To run the script with the…

Sunny
- 468
- 6
- 22
0
votes
1 answer
Rationale behing using Lighthouse as github CI
I am trying to understand how running lighthouse as CI helps me. What I understood is on every PR lighthouse will run on my application that runs on a localhost. But my end users are using the prod environment which is drastically different from…

Himanshu Saraswat
- 93
- 1
- 2
- 5
0
votes
1 answer
How can I submit the output of a step in GitHub Actions as a comment?
I'm trying to configure lighthouse CI with GitHub Actions for the first time.
My current configuration looks like this:
name: Pull Request Checks
on:
pull_request:
lighthouseci:
runs-on: ubuntu-latest
steps:
- name: 'Checkout…

jsco
- 25
- 4
0
votes
0 answers
How to get lighthouse metrics scores in react js using lighthouse npm package
I want to get the web vitals metrics using the lighthouse npm package in react for some of the metrics like FCP, LCP, TTI, FIP and etc, how that can be achieved using in react?

ali
- 492
- 2
- 7
- 18
0
votes
1 answer
fatal: could not read Username for 'https://github.com': terminal prompts disabled
I'm trying to integrate Lighthouse CI into my CI/CD to generate reports on my applications performance. I'm using GitHub Actions, and other jobs like building the app and generating a SonarCloud scan are working.
However Lighthouse CI is not…

Vercors
- 123
- 2
- 7
0
votes
1 answer
How to Automate web performance tools in React Application other than lighthouse
I am looking for a web performance tool that can be added to the localhost CI-CD Pipeline rather than manually entering the URL in PageSpeed Insights for performance check, I have heard about Pingdom but don't really know how to implement or add it…

ali
- 492
- 2
- 7
- 18
0
votes
2 answers
Lighthouse CI failing with cryptic errors on Azure DevOps pipeline
I'm running Lighthouse CI with a Azure DevOps YAML pipeline on a Windows agent and am getting cryptic errors. I run this command: npx lhci autorun and get this result:
Starting: Lighthouse Testing…

BobtheMagicMoose
- 2,246
- 3
- 19
- 27