Write the report to GITHUB_STEP_SUMMARY, not the log
Nobody reads a test summary or a bundle size table buried in ten thousand log lines. The step summary shows up at the top of the run page, rendered as Markdown.
{
echo "## Bundle size"
echo '| route | size |'; echo '|---|---|'
cat sizes.md
} >> "$GITHUB_STEP_SUMMARY"Any check that produces a number a person ought to see belongs there.
ci