mkdir -p _reports/_scripts/
folder in repo rootmkdir -p _reports/_json/
now you’re setup for automation.
bash _reports/_scripts/update-artifacts.sh
rarely. bash _reports/_scripts/refresh-LHRs-from-artifacts.sh
when LHRs change shapeand the real thing:
node _reports/_scripts/generate_report.js
all the timeentr
installed and so i use this:ls lighthouse-core/report/**/* | entr node _reports/_scripts/generate_report.js
_report/
, select all the .html files, and drag them onto your browser icon. that should open all 10 in diff tabs.* okay really 5 unique ones. just slightly diff styling for the other 5. ;)