Skip to content

Commit 8ed5475

Browse files
committed
fix: Actions bug
1 parent b3aec13 commit 8ed5475

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/setup-node@v4
2222
with:
2323
node-version: '20.11.1'
24+
npm: '10.2.4'
2425

2526
- name: Cache node modules
2627
uses: actions/cache@v3
@@ -31,9 +32,7 @@ jobs:
3132
${{ runner.os }}-node-
3233
3334
- name: Install dependencies
34-
run: |
35-
npm install -g npm@latest
36-
npm ci
35+
run: npm ci # 移除全局npm升级命令
3736

3837
- name: Build
3938
run: npm run build

0 commit comments

Comments
 (0)