Skip to content

Commit 025a464

Browse files
author
singi.qin
committed
1
1 parent 8f4724c commit 025a464

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jobs:
2121
cache: npm
2222

2323
- name: Install dependencies
24-
run: npm ci
24+
run: |
25+
# 先同步 package.json 和 lock 文件,补上缺失的依赖记录
26+
npm install
27+
# 再执行纯净安装,保证依赖版本完全一致
28+
npm ci
2529
- name: Build website
2630
run: npm run build
2731

0 commit comments

Comments
 (0)