Skip to content

Commit 275443a

Browse files
committed
fix(workflow): 移动 pnpm 设置步骤以避免重复
1 parent 8ebfd6b commit 275443a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-packages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ jobs:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
3131

32+
- name: Setup pnpm
33+
uses: pnpm/action-setup@v4
34+
with:
35+
version: 10.18.2
36+
3237
- name: Setup Node.js
3338
uses: actions/setup-node@v4
3439
with:
3540
node-version: '22'
3641
cache: 'pnpm'
3742
registry-url: https://registry.npmjs.org/
3843

39-
- name: Setup pnpm
40-
uses: pnpm/action-setup@v4
41-
with:
42-
version: 10.18.2
43-
4444
- name: Make pnpm non-interactive
4545
run: pnpm config set yes true
4646

0 commit comments

Comments
 (0)