Closed adamhenson closed 2 years ago
Hey, are you accepting PRs for this? If you could point me to the relevant code, I could give it a go.
Hey @Meemaw - PRs are welcome! However you’d need to do so in this repo which is what this GitHub Action uses under the hood. You’d need to read through the README to figure out how to run it and test… but I could help if needed. You would only need to make this change for “local” runs. The code isn’t the most readable, so it may be a little challenging.
Otherwise, I can make this change within the next week or 2.
@adamhenson that would be very much appreciated. I assume its a rather small fix if you know where to look 🙂
@Meemaw this feature has been added in v5.1.0. maxRetries
is now also reflected in the docs.
Muchas gracias 🙏
@Meemaw - just a heads up - it seems that this wasn't actually released until just now in v5.1.1
.
In v5.1.0
the built code wasn't actually released. Unfortunately, with GitHub Actions - we have to commit the built code and NPM modules. This is a manual step that is often overlooked and was so in this case. In the future I'd like to automate this in CI, but that will require an automated build and commit of the built files which could pose risks.
Summary
For running Lighthouse locally (not against Foo's API), based on #58 - perhaps we could provide retry logic, allowing the user to specify retry count.