From: Jérôme Benoit Date: Wed, 23 Oct 2024 17:26:10 +0000 (+0200) Subject: build(ci): readd pnpm audit step X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=11d2ed98b089dff19a7c2521b0f36ffc81a49b0c;p=e-mobility-charging-stations-simulator.git build(ci): readd pnpm audit step Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 066e15bb..bbbf0ff6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,9 +74,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 --prod + - name: pnpm audit + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} + run: pnpm audit --prod - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint @@ -125,9 +125,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 --prod + - name: pnpm audit + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} + run: pnpm audit --prod - name: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }} run: pnpm lint