Skip to content

Commit

Permalink
devops: debug lhci results comment (#89)
Browse files Browse the repository at this point in the history
* devops: debug lhci results comment

* devops: debug lhci results comment

* devops: debug lhci results comment

* devops: lhci results table comment

* devops: debug lhci results comment
  • Loading branch information
gaboesquivel authored Apr 6, 2024
1 parent 44dc282 commit 3bd9331
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
let comment = '⚡️ [Lighthouse report]'
comment += JSON.stringify('{ "links": ${{steps.lighthouse_audit.outputs.links}}, "manifest": ${{steps.lighthouse_audit.outputs.manifest}} }')
manifest.forEach(result => {
const pageLink = result.url;
comment = `Link: ${pageLink}:\n`;
Expand All @@ -66,7 +68,7 @@ jobs:
comment += `| ${score(result.summary.pwa)} PWA | ${result.summary.pwa} |\n`;
});
comment += '\n*Lighthouse ran on ' + Object.keys(links)[0] + '*';
core.setOutput("comment", comment);
- name: Add comment to PR
Expand Down

0 comments on commit 3bd9331

Please sign in to comment.