diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79719228..240e7dc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,11 +62,12 @@ jobs: - name: Run Tests run: | npm test - touch $GITHUB_STEP_SUMMARY # create the file if it does not exist + cat coverage/coverage-summary.txt - echo "```\n" >> $GITHUB_STEP_SUMMARY + + echo "\`\`\`\n" >> $GITHUB_STEP_SUMMARY cat coverage/coverage-summary.txt >> $GITHUB_STEP_SUMMARY - echo "```\n" >> $GITHUB_STEP_SUMMARY + echo "\`\`\`\n" >> $GITHUB_STEP_SUMMARY - name: Upload image difference, if there are any if: failure()