chore(ci): exclude low severity vulnerabilities in github actions

This commit is contained in:
Clark Du 2020-01-14 21:16:57 +00:00
parent decb11ac28
commit 6ffa2d1452

View File

@ -95,7 +95,8 @@ jobs:
key: ${{ matrix.os }}-node-v${{ matrix.node }}-nuxt-${{ github.sha }}
- name: audit
run: yarn audit --level moderate
# exclude low severity vulnerabilities for now
run: yarn audit; [[ $? -ge 4 ]] && exit 1 || exit 0
needs: setup
build: