-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
added google's Lighthouse CI check #1275
Conversation
This pull request is being automatically deployed with Vercel (learn more). storybook – ./🔍 Inspect: https://vercel.com/operation-code/storybook/p4gavenvr operation-code – ./🔍 Inspect: https://vercel.com/operation-code/operation-code/iphj0jsdq |
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
.github/workflows/lighthouse.yml
Outdated
uses: treosh/lighthouse-ci-action@v3 | ||
with: | ||
urls: | | ||
https://operationcode.org/ |
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.
I think it will compare against the urls we have specified here in urls field.
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.
ah okay - willing to try it! Any reason there's no feedback in this PR from Lighthouse?
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.
Its because I have added the lighthouse check on push not on pull requests. I think, I also need to add pull requests into it.
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.
I have made some changes, now it's showing the lighthouse check.
You need to set lighthouse github app in this repository to get the status checks and performance scores on every pull requests. to set github status check:
Or we can also add a bot to comment lighthouse scores on each PR. this is totally optional, otherwise we need to go to the details each time to check the performance scores. basically in these checks, we can run our lighthouse checks against some predefined performance scores (we need add them into our currently I haven't defined any scores yet, If you want me add the scores let me know I will add some performance scores. and also let me know if you have enabled the github status check then I need to make some changes in |
Awesome. Added the token: |
I have made the required changes but still it is showing |
@BhuwanChandra I think it was an annoying typo issue. The actual GitHub app refers to the would-be token as: |
Do you want to try this one out https://github.com/OskarAhl/Lighthouse-github-action-comment/blob/main/.github/workflows/lighthouse-on-vercel-preview-url.yml |
Ok, I will try this one! |
Code Climate has analyzed commit 173e8e0 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (90% is the threshold). This pull request will bring the total coverage in the repository to 83.9% (0.0% change). View more on Code Climate. |
Description of changes
added lighthouse ci check to get a measurement on the performance of website.
Issue Resolved
Fixes #1230