treosh / lighthouse-ci-action

Audit URLs using Lighthouse and test performance with Lighthouse CI.
MIT License
1.15k stars 82 forks source link

How to use autodiscoverUrlBlocklist? #78

Closed Macleykun closed 3 years ago

Macleykun commented 3 years ago

I'm working on getting Lighthouse CI to work on our repo . However the 404.html file is picked up and tested. But we don't want that to happen.

I noticed autodiscoverUrlBlocklist and tried that in the lighthouserc file, but i'm not sure how to use it. I tried only the file, and the full url. But the port always changes so i can't really specify the exact url with port.

Any other way how i can exclude the error file?

Macleykun commented 3 years ago

Found a clever way After the uses: actions/checkout@v2 step simply do