Skip to content

Commit

Permalink
feature/IVYPORTAL-17377-Create-pipeline-to-run-Lighthouse-report
Browse files Browse the repository at this point in the history
  • Loading branch information
nhthinh-axonivy committed Dec 27, 2024
1 parent a2b1b1a commit 8e518e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const __dirname = dirname(__filename);
});

// Save reports
fs.writeFileSync("lighthouse-report.html", lhr.report[0]);
fs.writeFileSync("lighthouse-report.html", lhr.report);
fs.writeFileSync(
"lighthouse-reports/report.json",
JSON.stringify(lhr, null, 2)
Expand Down

0 comments on commit 8e518e3

Please sign in to comment.