-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ci: skip Lighthouse audit when Netlify preview is not live #2048
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
ci: skip Lighthouse audit when Netlify preview is not live #2048
Conversation
✅ Deploy Preview for expressjscom-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🚦 Lighthouse Results (Mobile & Desktop)
|
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.
Pull Request Overview
This PR improves the CI workflow by adding logic to skip Lighthouse audits when Netlify preview deployments are not available, preventing failed CI runs due to unavailable preview URLs.
- Increases retry attempts from 4 to 12 with configurable delay
- Sets environment variable to conditionally skip Lighthouse steps when preview is unavailable
- Adds conditional execution to all Lighthouse-related workflow steps
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
LGTM, sorry for the delay. I’m trying to prioritize my OSS work now that I have a new university schedule. I’ll try to review the PRs on weekends.
It is better late than nothing. I am also doing on weekends 😃 |
same as title