Skip to content

Commit a854d8c

Browse files
committed
修复: 解决rollup平台依赖问题,更新npm安装方式
1 parent 6c8cd63 commit a854d8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
node-version: '18' # 使用Node.js 18
2525
cache: 'npm'
2626

27-
- name: 安装依赖
28-
run: npm ci
27+
- name: 修复npm依赖问题
28+
run: |
29+
rm -rf package-lock.json node_modules
30+
npm install
2931
3032
- name: 设置私钥
3133
run: node scripts/setup-private-key.js

0 commit comments

Comments
 (0)