From 9195c515d988109eb8e625c0eabc6e92e2d3337b Mon Sep 17 00:00:00 2001 From: Chris Wilton-Magras Date: Tue, 22 Oct 2024 14:21:56 +0100 Subject: [PATCH] Disable npm audit in CI, skip cloud npm install by default --- .github/workflows/backend-checks.yml | 4 ++-- .github/workflows/cloud.yml | 2 +- .github/workflows/frontend-checks.yml | 4 ++-- .github/workflows/k6-checks.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/backend-checks.yml b/.github/workflows/backend-checks.yml index 41a1fca34..80aa7ef56 100644 --- a/.github/workflows/backend-checks.yml +++ b/.github/workflows/backend-checks.yml @@ -34,7 +34,7 @@ jobs: cache-dependency-path: './backend/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npx eslint . @@ -58,7 +58,7 @@ jobs: cache-dependency-path: './backend/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npm run build diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index 2e39d3c47..ac4d0f5e1 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -35,7 +35,7 @@ jobs: cache-dependency-path: './cloud/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npm run codecheck diff --git a/.github/workflows/frontend-checks.yml b/.github/workflows/frontend-checks.yml index b112cb839..1a157c17c 100644 --- a/.github/workflows/frontend-checks.yml +++ b/.github/workflows/frontend-checks.yml @@ -34,7 +34,7 @@ jobs: cache-dependency-path: './frontend/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npx eslint . @@ -59,7 +59,7 @@ jobs: cache-dependency-path: './frontend/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npm run build diff --git a/.github/workflows/k6-checks.yml b/.github/workflows/k6-checks.yml index 06613864c..fa58d4f15 100644 --- a/.github/workflows/k6-checks.yml +++ b/.github/workflows/k6-checks.yml @@ -33,7 +33,7 @@ jobs: cache-dependency-path: './k6/package-lock.json' - name: Install dependencies run: | - npm ci + npm ci --no-audit - name: Run job run: | npx eslint .