From be87eb7acad92c21b121d8a4cae845ef70d84c38 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 9 Jul 2024 17:18:47 +0100 Subject: [PATCH] test(CI): Have GitHub use npm ci instead of npm install (#8245) This should help ensure that CI catches PRs that update package.json without updating package-lock.json to match. Proposed in response to breakage caused by PR #8209. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4f37bd76..c4ab688f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,8 +37,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Npm Install - run: npm install + - name: Npm Clean Install + run: npm ci - name: Linux Test Setup if: runner.os == 'Linux'