-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Crosa - Allow users to pass lighthouse flags through the command line #19
@Crosa - Allow users to pass lighthouse flags through the command line #19
Conversation
Thanks @celsosantarosa . That looks awesome. However I recently moved the |
Hi @andreasonny83, Just implemented the changes we asked. Thank you for calling out the CLI issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's very good. Thanks again.
closes #9 |
Hi! I'm trying to use this feature unfortunately I had no luck with it, I'm running the CI with this command |
@DavidReinberger you can pass any native Lighthouse flag to lighthouse-ci. Please have a look at this section of the readme and please, let me know if that solves your problem: https://github.com/andreasonny83/lighthouse-ci#lighthouse-flags |
@andreasonny83 well it seems like the params are not passed there at all |
Hi @DavidReinberger, Are you using the most recent version of lighthouse? I'm using lighthouse 1.3.0 and everything is working as expected. Here is how I am calling lighthouse-ci: lighthouse-ci $URL --report $REPORT_PATH --performance $PERFORMANCE_THRESHOLD --pwa $PWA_THRESHOLD --accessibility $ACCESSIBILTY_THRESHOLD --best-practices $BEST_PRACTICE_THRESHOLD --seo $SEO_THRESHOLD --emulated-form-factor $EMULATED_FORM_FACTOR Hope It helps you. |
I'm going to archive the conversation as it belongs to an already resolved PR. @DavidReinberger, if the explanation from @celsosantarosa doesn't solve your problems, please create a dedicated issue so other people can benefit from that. Thank you |
Enable users to call the lighthouse-ci and pass lighthouse flags, for instance:
lighthouse-ci --emulated-form-factor desktop --seo 92