Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
deps: Apply npm audit fix (#434)
* ci: fix npm audit step
  • Loading branch information
Shohei Ueda authored and GitHub committed Jul 31, 2020
1 parent 0794e07 commit 4bf31e4
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 29 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -48,8 +48,14 @@ jobs:
- run: npm ci

- run: npm audit
- name: npm audit
if: startsWith(matrix.os, 'ubuntu-18.04')
run: |
npm audit > ./audit.log || true
if ! [ "$(cat ./audit.log | wc -l)" = 1 ]; then
echo "::warning::$(cat ./audit.log)"
fi
rm ./audit.log
- name: Run prettier
if: startsWith(matrix.os, 'ubuntu-18.04')
Expand Down
94 changes: 66 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4bf31e4

Please sign in to comment.