Commit 9b40374
committed
fix: 添加package-lock.json并修复CI缓存配置
## 问题修复
1. **添加package-lock.json**: 创建前端项目的package-lock.json文件
2. **修复缓存路径**: 将缓存路径改为frontend/package-lock.json
3. **确保CI兼容**: 使GitHub Actions能够正确缓存npm依赖
## 改进内容
- 提供准确的依赖锁定文件
- 确保npm缓存正常工作
- 提高CI构建的稳定性和速度
- 避免'Some specified paths were not resolved'错误1 parent 68eb0a5 commit 9b40374
File tree
2 files changed
+150
-1
lines changed- .github/workflows
- frontend
2 files changed
+150
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments