Skip to content

Commit

Permalink
format comment for mobile and desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoriopalama committed Aug 2, 2024
1 parent 3d19569 commit 6aef671
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
header: lighthouse
number: ${{ github.event.number || steps.pr_number_finder.outputs.pr }}
message: Mobile score ${{ steps.format_lighthouse_score.outputs.pr_comment }} Dekstop score ${{ steps.format_lighthouse_desktop_score.outputs.pr_comment }}
message: |
```
## Mobile score
${{ steps.format_lighthouse_score.outputs.pr_comment }}
## Desktop score
${{ steps.format_lighthouse_desktop_score.outputs.pr_comment }}
```
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse/lighthouseCommentMaker.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function makeComment(lighthouseOutputs) {

let comment = `
## ⚡️🏠 Lighthouse report
### ⚡️🏠 Lighthouse report
We ran Lighthouse against the changes and produced this [report](${reportUrl}). Here's the summary:
Expand Down

0 comments on commit 6aef671

Please sign in to comment.