DEV Community

Discussion on: Automated lighthouse score to your PR (with Vercel and Github Actions)

Collapse
 
asweb85 profile image
Alessandro

Amazing article thank you! If I want to run multiple urls adding sth like ${{ steps.vercel_preview_url.outputs.vercel_preview_url }}/blog how can I change the script to say that Lighthouse has run on url1 and url2 ? Thank you

Collapse
 
oskarahl profile image
Oskar Ahlroth • Edited

Hi Allessandro, you can check out github.com/treosh/lighthouse-ci-ac... - seems to be possible to pass in multiple urls:

urls: |
  https://example.com/
  https://example.com/blog
  https://example.com/pricing
Enter fullscreen mode Exit fullscreen mode
Collapse
 
asweb85 profile image
Alessandro

Thank you!

Some comments have been hidden by the post's author - find out more