Skip to content

Commit f76f172

Browse files
committed
fix: Release CI — 移除 npm cache + --ignore-scripts(解决网络超时)
1 parent 4a7b1d6 commit f76f172

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: '22'
28-
cache: 'npm'
29-
cache-dependency-path: package-lock.json
3028

3129
- name: Install dependencies
32-
run: npm install
30+
run: npm install --ignore-scripts
3331

3432
- name: Build web
3533
run: npm run build
@@ -69,11 +67,9 @@ jobs:
6967
uses: actions/setup-node@v4
7068
with:
7169
node-version: '22'
72-
cache: 'npm'
73-
cache-dependency-path: package-lock.json
7470

7571
- name: Install frontend dependencies
76-
run: npm install
72+
run: npm install --ignore-scripts
7773

7874
- name: Download web build
7975
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)