Skip to content

Commit e93a146

Browse files
committed
ci: install pnpm before setup-node to satisfy cache=pnpm; fixes 'Unable to locate executable file: pnpm'
1 parent 0eeb038 commit e93a146

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/actions/setup-node-pnpm/action.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ inputs:
1616
runs:
1717
using: 'composite'
1818
steps:
19+
- name: Install pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: ${{ inputs.pnpm-version }}
23+
1924
- name: Setup Node.js
20-
2125
uses: actions/setup-node@v4
2226
with:
2327
node-version: ${{ inputs.node-version }}
2428
cache: pnpm
2529
registry-url: ${{ inputs.registry-url }}
2630

27-
- name: Install pnpm
28-
uses: pnpm/action-setup@v4
29-
with:
30-
version: ${{ inputs.pnpm-version }}
31-

0 commit comments

Comments
 (0)