Skip to content

Commit 4da503e

Browse files
committed
Use npm ci in CI
1 parent 786d3aa commit 4da503e

10 files changed

+11
-11
lines changed

.github/workflows/__config-input.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-codescanning-config-inputs-js.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-inputs-js.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-js.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-inputs-js.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/codescanning-config-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache: 'npm'
6464

6565
- name: Install dependencies
66-
run: npm install
66+
run: npm ci
6767

6868
- name: Prepare test
6969
id: prepare-test

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737

3838
- name: Install dependencies
3939
run: |
40-
# Use the system Bash shell to ensure we can run commands like `npm install`
40+
# Use the system Bash shell to ensure we can run commands like `npm ci`
4141
# that are not available in the default shell on Windows.
4242
npm config set script-shell bash
43-
npm install
43+
npm ci
4444
4545
- name: Verify compiled JS up to date
4646
run: .github/workflows/script/check-js.sh

.github/workflows/query-filters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cache: npm
3434

3535
- name: Install dependencies
36-
run: npm install
36+
run: npm ci
3737

3838
- name: Prepare test
3939
id: prepare-test

.github/workflows/rebuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
6464
- name: Compile TypeScript
6565
run: |
66-
npm install
66+
npm ci
6767
npm run lint -- --fix
6868
npm run build
6969

pr-checks/sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def writeHeader(checkStream):
123123
},
124124
{
125125
'name': 'Install dependencies',
126-
'run': 'npm install',
126+
'run': 'npm ci',
127127
},
128128
])
129129

0 commit comments

Comments
 (0)