-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add Lighthouse CI Action #12772
Add Lighthouse CI Action #12772
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
90 minute timeout on preview deploy
@minimalsm nice! Do you know an easy way to access these reports? or entering the job and downloading the zip file is the only way? Comparing it with the Netlify plugin, this point seems to be an important one. On Netlify, you have this pretty comment with a quick summary and a quick access link to the report. On the other hand, the CI action seems to be more flexible and powerful if we would like to do more things on top of it, we could combine it with other actions. (they have a nice example under "Use Do you have other pros & cons? Note: in the meanwhile, I'll add the same pages we are testing here on the Netlify plugin to see how it looks. |
Converting to draft.
|
Lighthouse scores are calculated based on the latest audit results |
state: open | ||
- name: Add Lighthouse stats as comment | ||
id: comment_to_pr | ||
uses: marocchino/sticky-pull-request-comment@v2.0.0 |
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.
This is neat :)
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
const links = ${{ steps.lighthouse_audit.outputs.links }}; | ||
const formatResult = (res) => Math.round((res * 100)); | ||
|
||
console.log('Total manifests:', manifests.length); |
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.
Total manifests should be number of runs * number of urls
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! nice job @minimalsm
After removing the testing branch, I think we are good to go.
Description
Trying Lighthouse CI for performance testing.
Related Issue
Performance testing
Summary by CodeRabbit