8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user