Skip to content

Commit c5dc384

Browse files
committed
test(CI): Have GitHub use npm ci instead of npm install
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.
1 parent 36b9d68 commit c5dc384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
with:
3838
node-version: ${{ matrix.node-version }}
3939

40-
- name: Npm Install
41-
run: npm install
40+
- name: Npm Clean Install
41+
run: npm ci
4242

4343
- name: Linux Test Setup
4444
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)