Skip to content

Commit ea267b4

Browse files
committed
chore: npm i -> npm ci
1 parent b76f3ed commit ea267b4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cache: "npm"
4040

4141
- name: Install dependencies
42-
run: npm install
42+
run: npm ci
4343

4444
- name: Build
4545
run: npm run build
@@ -80,7 +80,7 @@ jobs:
8080
version: 9
8181

8282
- name: Install dependencies
83-
run: npm install --ignore-engines --ignore-scripts
83+
run: npm ci --ignore-engines --ignore-scripts
8484

8585
- name: Prepare environment for tests
8686
run: npm run build:ci
@@ -116,7 +116,7 @@ jobs:
116116
cache: "npm"
117117

118118
- name: Install dependencies
119-
run: npm install --ignore-engines
119+
run: npm ci --ignore-engines
120120

121121
- name: Prepare environment for tests
122122
run: npm run build:ci
@@ -140,7 +140,7 @@ jobs:
140140
node-version: "lts/*"
141141
cache: "npm"
142142

143-
- run: npm install
143+
- run: npm ci
144144

145145
- name: Validate PR commits with commitlint
146146
if: github.event_name == 'pull_request'

.github/workflows/update-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
cache: "npm"
3535

3636
- name: Install dependencies
37-
run: npm install
37+
run: npm ci
3838

3939
- name: Install latest webpack and webpack-dev-server version
40-
run: npm install --save webpack-dev-server@latest webpack@latest
40+
run: npm ci --save webpack-dev-server@latest webpack@latest
4141

4242
- name: Build
4343
run: npm run build

0 commit comments

Comments
 (0)