Skip to content

Commit ed15f38

Browse files
authored
fix: specify pnpm version in release workflows (#48)
1 parent 7134dee commit ed15f38

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish-alpha.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
- name: Setup pnpm
2121
uses: pnpm/action-setup@v6
22+
with:
23+
version: 10
2224

2325
- name: Setup Node.js
2426
uses: actions/setup-node@v6

.github/workflows/version-packages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Setup pnpm
2323
uses: pnpm/action-setup@v6
24+
with:
25+
version: 10
2426

2527
- name: Setup Node.js
2628
uses: actions/setup-node@v6

docs/Release-Readiness.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ A [publish-alpha.yml](../.github/workflows/publish-alpha.yml) workflow exists fo
201201
- **Pre-publish validation**: test, typecheck, build, lint, pack:check
202202
- **Publish command**: `pnpm release:alpha` (builds, runs pack check, then `changeset publish --tag alpha`)
203203
- **npm auth**: configured at runtime via `NODE_AUTH_TOKEN`; no committed `.npmrc` file
204+
- Both workflows explicitly pin pnpm 10 via `pnpm/action-setup@v6` with `version: 10`
204205

205206
### Publish cadence
206207

0 commit comments

Comments
 (0)