From: Jérôme Benoit Date: Sat, 11 Nov 2023 20:40:51 +0000 (+0100) Subject: build(ci): only audit for production dependencies X-Git-Tag: v1.2.24~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9c6af3b023275ccee30595bfb19a4a715df83351;p=e-mobility-charging-stations-simulator.git build(ci): only audit for production dependencies Signed-off-by: Jérôme Benoit --- 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