Skip to content

Commit b7865e5

Browse files
author
perlinson
committed
🔧 fix: 将 GitHub Pages 工作流中的 npm ci 改为 npm install
✨ 修复内容: - 将 npm ci 命令更改为 npm install - 提高依赖安装的灵活性和兼容性 🔧 技术细节: - npm install 在缺少 package-lock.json 时更稳定 - 避免 npm ci 的严格锁文件要求 - 确保依赖能够正常安装 🎯 解决问题: - 修复可能的依赖安装失败问题 - 提升构建流程的可靠性
1 parent ac2da68 commit b7865e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Install dependencies
4343
working-directory: ./website
44-
run: npm ci
44+
run: npm install
4545

4646
- name: Build website
4747
working-directory: ./website

0 commit comments

Comments
 (0)