Skip to content
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

Store audit data on Github (this repo?) #5

Closed
laras126 opened this issue Aug 28, 2020 · 0 comments · Fixed by #4
Closed

Store audit data on Github (this repo?) #5

laras126 opened this issue Aug 28, 2020 · 0 comments · Fixed by #4

Comments

@laras126
Copy link
Collaborator

laras126 commented Aug 28, 2020

We need get all of the counts again without the .css.orig files, and we could update the Google Doc with the new counts, but it seems like we would benefit from having this data on Github so it is more shareable and we can keep track of history – is that something that could be part of this repo?

In order to automate this vs. manually copy/pasting the data as in the GDoc, it could work something like this (starting to test this out in this WIP PR):

  • Refactor to return an object of the results that can be used in other scripts
  • Refactor to move the CLI-specific contents to a cli.js
  • Create a new CLI argument - css-audit ./wp-admin/* --all --generate-report=wp-admin
  • --generate-report will output the audit results to an .html file inside public/wp-admin.html

Then public/ can be deployed on Github pages. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant