Skip to content

Commit 19db244

Browse files
committed
chore: Log table with result summary
1 parent 48602d9 commit 19db244

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/scripts/cronjobs/reportLighthouseResults.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ async function run() {
6464
}),
6565
);
6666

67+
const transformedData = lighthouseReport.map((item) => {
68+
return {
69+
url: item.url,
70+
...item.summary,
71+
};
72+
});
73+
console.table(transformedData);
6774
logger.info("lighthouse_report", lighthouseReport);
6875
}
6976

0 commit comments

Comments
 (0)