From 9c6af3b023275ccee30595bfb19a4a715df83351 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 11 Nov 2023 21:40:51 +0100 Subject: [PATCH] build(ci): only audit for production dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f1d9f85..fef46bc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: run: pnpm install --ignore-scripts --frozen-lockfile - name: pnpm audit if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - run: pnpm audit + run: pnpm audit --prod - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint @@ -107,7 +107,7 @@ jobs: run: pnpm install --ignore-scripts --frozen-lockfile - name: pnpm audit if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} - run: pnpm audit + run: pnpm audit --prod - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint -- 2.34.1