From 52cdd8a13a6dae7a395fd979965b6c8a551640c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 11 Nov 2023 21:28:29 +0100 Subject: [PATCH] build(ci): add dependencies audit step 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 | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1