mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 03:42:14 +00:00
Nicer formatting
This commit is contained in:
6
.github/workflows/nextjs_bundle_analysis.yml
vendored
6
.github/workflows/nextjs_bundle_analysis.yml
vendored
@@ -81,6 +81,12 @@ jobs:
|
||||
if: success() && github.event.number
|
||||
run: |
|
||||
body=$(cat .next/analyze/__bundle_analysis_comment.txt)
|
||||
body="## Size Changes
|
||||
<details>
|
||||
|
||||
${body}
|
||||
|
||||
</details>"
|
||||
body="${body//'%'/'%25'}"
|
||||
body="${body//$'\n'/'%0A'}"
|
||||
body="${body//$'\r'/'%0D'}"
|
||||
|
||||
Reference in New Issue
Block a user