Skip to content

Commit 14cb957

Browse files
committed
fix(ci): 修改npm安装命令以兼容旧版本依赖
- 在GitHub Actions的lint工作流中调整npm ci命令 - 增加了--legacy-peer-deps参数以解决依赖冲突问题 - 确保CI环境中依赖安装的稳定性和兼容性 - 保持格式检查步骤不变
1 parent c5d8c22 commit 14cb957

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
node-version: 20
1818
cache: npm
1919

20-
- run: npm ci
20+
- run: npm ci --legacy-peer-deps
2121

2222
- name: Check formatting
2323
run: npm run format:check

0 commit comments

Comments
 (0)