build(docs-infra): upgrade lighthouse to 4.3.0 (#29904)
Also, log the Lighthouse version in `test-pwa-score` to aid in debugging. PR Close #29904
This commit is contained in:

committed by
Alex Rickabaugh

parent
ea70d41ac2
commit
4f9c935473
@ -105,6 +105,8 @@ function processResults(results, logFile) {
|
||||
const categoryData = Object.keys(categories).map(name => categories[name]);
|
||||
const maxTitleLen = Math.max(...categoryData.map(({title}) => title.length));
|
||||
|
||||
console.log('\nLighthouse version:', results.lhr.lighthouseVersion);
|
||||
|
||||
console.log('\nAudit scores:');
|
||||
categoryData.forEach(({title, score}) => {
|
||||
const paddedTitle = `${title}:`.padEnd(maxTitleLen + 1);
|
||||
|
Reference in New Issue
Block a user