Skip to content

Commit 7ca0003

Browse files
authored
ci(itk): install with npm ci so package-lock.json is honoured (#607)
# Description The ITK agent builds from the root package.json, whose lock is already committed, but npm install can re-resolve and rewrite it. Switches both ITK workflows to npm ci.
1 parent f5ca7d0 commit 7ca0003

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/run-itk-nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
cache: 'npm'
5050

5151
- name: Install Node dependencies
52-
run: npm install
52+
run: npm ci
5353

5454
- name: Run Error Handling Tests
5555
run: bash itk/run_error_tests.sh

.github/workflows/run-itk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
cache: 'npm'
5050

5151
- name: Install Node dependencies
52-
run: npm install
52+
run: npm ci
5353

5454
- name: Run Error Handling Tests
5555
run: bash itk/run_error_tests.sh

0 commit comments

Comments
 (0)