chore(workflow): switch yarn audit in release to a collapsed section (#534)

This commit is contained in:
Jacob Bolda 2020-03-28 16:09:47 -05:00 committed by GitHub
parent ff854a4f88
commit 2e67d2bc9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,9 +51,12 @@ jobs:
working-directory: ${{ matrix.package.path }}
run: |
echo "# Yarn Audit Results" | tee -a ${{runner.workspace }}/notes.md
echo "\n<details>" >> ${{runner.workspace }}/notes.md
echo "<summary>click to view</summary>\n" >> ${{runner.workspace }}/notes.md
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
yarn audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
echo "\`\`\`" >> ${{runner.workspace }}/notes.md
echo "</details>\n" >> ${{runner.workspace }}/notes.md
- name: Publish ${{ matrix.package.name }}
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
working-directory: ${{ matrix.package.path }}