From: Jérôme Benoit Date: Sat, 11 Nov 2023 20:28:29 +0000 (+0100) Subject: build(ci): add dependencies audit step X-Git-Tag: v1.2.24~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=52cdd8a13a6dae7a395fd979965b6c8a551640c9;p=e-mobility-charging-stations-simulator.git build(ci): add dependencies audit step Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 348a6720..0f1d9f85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,9 @@ jobs: cache: 'pnpm' - name: pnpm install run: pnpm install --ignore-scripts --frozen-lockfile + - name: pnpm audit + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} + run: pnpm audit - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint @@ -102,6 +105,9 @@ jobs: cache: 'pnpm' - name: pnpm install run: pnpm install --ignore-scripts --frozen-lockfile + - name: pnpm audit + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} + run: pnpm audit - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint