Skip to content

Commit

Permalink
Use MD link
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored May 4, 2022
1 parent 18b365c commit 5a2ab85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/format-lighthouse-score.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ const createMarkdownTableRow = ({
pwa,
reportUrl,
}) => {
return `| ${url} | ${performance} | ${accessibility} | ${bestPractices} | ${seo} | ${pwa} | [View report](${reportUrl})|`;
return `| [${new URL(testUrl).pathname}](${url}) | ${performance} | ${accessibility} | ${bestPractices} | ${seo} | ${pwa} | [View report](${reportUrl})|`;
};

const createSingleRow = ({summary, testUrl, reportPublicUrl}) => {
const normalizedBody = {
url: new URL(testUrl).pathname,
url: testUrl,
performance: scoreEntry(summary.performance),
accessibility: scoreEntry(summary.accessibility),
bestPractices: scoreEntry(summary['best-practices']),
Expand Down

0 comments on commit 5a2ab85

Please sign in to comment.