|
@@ -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 }}
|