Skip to content

Commit 76b5d67

Browse files
committed
修复GitHub Actions工作流:使用npm install替代npm ci,更新Node.js版本为20
1 parent a956cf0 commit 76b5d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- name: 设置Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: '18'
23+
node-version: '20'
2424
cache: 'npm'
2525

2626
- name: 安装依赖
27-
run: npm ci
27+
run: npm install
2828

2929
- name: 构建
3030
run: npm run build

0 commit comments

Comments
 (0)