-
Notifications
You must be signed in to change notification settings - Fork 34
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
Adding Lighthouse audit #445
Conversation
Was just thinking of automating this process
what's docker again?
can add this as a job to the CI workflow and not sure if we will need data for this to work properly, but if so, can use this e2e workflow as reference https://github.com/YACS-RCOS/yacs.n/pull/251/files |
Deploy Link: https://172.104.215.175/ |
Deploy Link: https://45.79.149.39/ |
Deploy Link: https://97.107.142.245/ |
.github/workflows/pr.yaml
Outdated
AUTH_ARGS: ${{ secrets.AUTH_ARGS }} | ||
API_ENDPOINT: https://localhost/api/bulkCourseUpload | ||
|
||
- name: run Lighthouse CI |
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.
could also explore using a lighthouse github action like https://github.com/marketplace/actions/lighthouse-check or https://github.com/marketplace/actions/lighthouse-ci-action
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.
Will definitely take a look at that
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.
Looked into them, and they just take info from the lighthouserc.js
and integrate them into the yaml file. I think it would be better to specify the specs and other lighthouse-related things in a separate file.
We can definitely change |
Deploy Link: https://198.74.59.213/ |
Deploy Link: https://45.79.154.198/ |
Had to move the lighthouserc.js to the workflow folder for it to work, and dont want to do that. Also, using the treosh action just takes some thing out of the js file anyway, and having all lighthouse config stuff in 1 file is better to manage
This reverts commit 30a9086.
This reverts commit e08c0f4.
This reverts commit 0a33b1b.
This reverts commit 95b85ab.
This reverts commit b7d044f.
This reverts commit 0998119.
This reverts commit e67bb7e.
This reverts commit dbbdbf3.
Deploy Link: https://66.175.212.223/ |
Was just thinking of automating this audit for front-end changes
Additional Info
We should have had this a long time ago :/
The minScore should be changed before merging with the master. The current values are in place for the current website!