From 6ffa2d1452a9eea722efb4cf234173496097a2a5 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 14 Jan 2020 21:16:57 +0000 Subject: [PATCH] chore(ci): exclude low severity vulnerabilities in github actions --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1907fda64a..a7f2dbb285 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: