Skip to content

Commit cc7b349

Browse files
committed
ci: update npm install commands in workflows
Replace npm ci with npm install in GitHub Actions workflows to ensure consistent dependency installation across different workflow environments. The change affects multiple workflow files including CI, publish, release, and release-test configurations to maintain uniformity in dependency installation approach. 更新 GitHub Actions 工作流中的 npm 安装命令,将 npm ci 替换为 npm install, 以确保在不同工作流环境中依赖项安装的一致性。 此更改影响多个工作流文件,包括 CI、发布、发布测试配置, 以保持依赖项安装方式的统一性。 Change-Id: Ic4e73334629ef9128df30db524518f3550e74664 Signed-off-by: OhYee <[email protected]>
1 parent 38e04a2 commit cc7b349

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache: 'npm'
2525

2626
- name: Install dependencies
27-
run: npm ci
27+
run: npm install
2828

2929
- name: Type check
3030
run: npm run typecheck
@@ -52,7 +52,7 @@ jobs:
5252
cache: 'npm'
5353

5454
- name: Install dependencies
55-
run: npm ci
55+
run: npm install
5656

5757
- name: Run tests with coverage
5858
run: npm run test:coverage
@@ -83,7 +83,7 @@ jobs:
8383
registry-url: 'https://registry.npmjs.org'
8484

8585
- name: Install dependencies
86-
run: npm ci
86+
run: npm install
8787

8888
- name: Build
8989
run: npm run build

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
registry-url: 'https://registry.npmjs.org'
3838

3939
- name: Install dependencies
40-
run: npm ci
40+
run: npm install
4141

4242
- name: Build
4343
id: build
@@ -65,7 +65,7 @@ jobs:
6565
always-auth: true
6666

6767
- name: Install dependencies
68-
run: npm ci
68+
run: npm install
6969

7070
- name: Build
7171
run: npm run build
@@ -97,7 +97,7 @@ jobs:
9797
always-auth: true
9898

9999
- name: Install dependencies
100-
run: npm ci
100+
run: npm install
101101

102102
- name: Build
103103
run: npm run build

.github/workflows/release-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
VERSION: ${{ steps.version.outputs.VERSION }}
114114

115115
- name: Install dependencies
116-
run: npm ci
116+
run: npm install
117117

118118
- name: Build
119119
run: npm run build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
fi
5656
5757
- name: Install dependencies
58-
run: npm ci
58+
run: npm install
5959

6060
- name: Build
6161
run: npm run build

0 commit comments

Comments
 (0)