-
Notifications
You must be signed in to change notification settings - Fork 61
feat: add lighthouse-ci integration #2227
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
base: master
Are you sure you want to change the base?
Conversation
- add lighthouserc.js as the config file - update circleci config to run lighthouse - upgrade the version to v2.1 to add support of `obs`
To verify This is the report link: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1660264892332-46113.report.html (only valid within few days). |
Question: On which step do we expect to get lighthouse report ?
|
This patch add `numberOfRuns` to lighthouserc.js config to decrease measurement variability.
This patch updates mock data to add a benchmark post for page speed measurement.
This page adds article page url link as the other target for collecting metrics in lighthouse measurement.
A: after PR launch, before PR merge to master |
This change updates lighthouserc.js to add lighthouse ci server, also updates circleci config to include environment variables.
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.
Huge progree to build up lighthouse ci server successfully !
I left a comment about the ci job execution timing, other else looking good.
Please have a look 👀
5b67455
to
4f0fc75
Compare
This patch moves lighthouse ci related codes from `build` to an independent job in circleci config as we want to run lighthouse before PR merged but the `build` job has branch filter.
4f0fc75
to
a507ae0
Compare
This patch adds 'category_set' in a mock data post (slug: russian-invasion-of-ukraine-2022-kid-frequently-asked-questions)
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 🚀
Thanks for the review, and I suppose it might need some tweaks after performing tests. |
Related issue: TWREPORTER-419