fix(publish): Use yarn audit instead of npm audit (#411)

This commit is contained in:
Rajiv Shah 2020-02-09 18:09:27 -05:00 committed by GitHub
parent 03eb578c3f
commit deeb28306b

View File

@ -50,7 +50,7 @@ jobs:
working-directory: ${{ matrix.package.path }}
run: |
echo "# NPM Audit Results" | tee -a ${{runner.workspace }}/notes.md
npm audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
yarn audit 2>&1 | tee -a ${{runner.workspace }}/notes.md
- name: Publish ${{ matrix.package.name }}
if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION
working-directory: ${{ matrix.package.path }}