diff --git a/.github/workflows/cli-audit.yml b/.github/workflows/cli-audit.yml index e1cf3f9ed..50c3f54c1 100644 --- a/.github/workflows/cli-audit.yml +++ b/.github/workflows/cli-audit.yml @@ -16,12 +16,12 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - - run: make install - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: make install - name: Run audit check run: npm audit --audit-level=moderate --production # minimum vulnerability level that will cause the command to fail