Skip to content

Commit fed04e1

Browse files
committed
修复 GitHub Actions CI/CD 问题:添加 package-lock.json 并优化缓存配置
1 parent 83d521d commit fed04e1

3 files changed

Lines changed: 11625 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
uses: actions/setup-node@v4
9494
with:
9595
node-version: '18'
96+
cache: 'npm'
9697

9798
- name: Install dependencies
9899
run: npm ci

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ yarn-error.log*
4545
next-env.d.ts
4646

4747
# 项目特定文件
48-
package-lock.json
4948
unused-components.md
5049

5150
# 临时文件和缓存

0 commit comments

Comments
 (0)