Skip to content

Commit 7ca0a8c

Browse files
committed
refactor: rearrange pnpm setup step in publish workflow for clarity
1 parent fc1c3d4 commit 7ca0a8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
16+
17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v4
1619

1720
- name: Setup Node.js
1821
uses: actions/setup-node@v4
@@ -21,9 +24,6 @@ jobs:
2124
registry-url: "https://npm.pkg.github.com"
2225
cache: 'pnpm'
2326

24-
- name: Setup pnpm
25-
uses: pnpm/action-setup@v4
26-
2727
- name: Install dependencies
2828
run: pnpm install
2929

0 commit comments

Comments
 (0)