From e3f417b2fb2864b80dcb7e09987a12eb509750c7 Mon Sep 17 00:00:00 2001 From: Alex Pickering Date: Tue, 3 Dec 2024 11:49:35 -0800 Subject: [PATCH] restore npm<7 behavior Signed-off-by: Alex Pickering --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/nextjs_bundle_analysis.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 709c7079a..e9dc22c96 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -117,7 +117,7 @@ jobs: echo "NPM version: $(npm --version)" git config --global url."https://".insteadOf ssh:// - npm ci + npm ci --legacy-peer-deps - id: test name: Run unit tests @@ -171,7 +171,7 @@ jobs: echo "NPM version: $(npm --version)" git config --global url."https://".insteadOf ssh:// - npm ci + npm ci --legacy-peer-deps - id: next-cache-seek name: Look up the Next.js build cache diff --git a/.github/workflows/nextjs_bundle_analysis.yaml b/.github/workflows/nextjs_bundle_analysis.yaml index 9a51d5a29..987a40cf6 100644 --- a/.github/workflows/nextjs_bundle_analysis.yaml +++ b/.github/workflows/nextjs_bundle_analysis.yaml @@ -40,7 +40,7 @@ jobs: echo "NPM version: $(npm --version)" git config --global url."https://".insteadOf ssh:// - npm ci + npm ci --legacy-peer-deps - name: Restore next build uses: actions/cache@v2