Skip to content

Commit 3204074

Browse files
committed
fix: add pnpm setup to Speakeasy workflow
Speakeasy internally runs pnpm install which requires pnpm to be installed in the CI environment.
1 parent 055a178 commit 3204074

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/speakeasy_run_on_pr.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ jobs:
2020
ref: ${{ github.event.pull_request.head.ref }}
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222

23+
- name: Install pnpm
24+
uses: pnpm/action-setup@v4
25+
with:
26+
version: 10
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '22'
32+
cache: 'pnpm'
33+
2334
- name: Install Speakeasy CLI
2435
run: |
2536
curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/install.sh | sh

0 commit comments

Comments
 (0)