Skip to content

Commit a356c64

Browse files
committed
Pin pnpm version in CI
The workflows asked for `version: latest`, so CI silently moved to pnpm 11 while local development stays on 10.18.3. pnpm 11 removed the `onlyBuiltDependencies` setting in favor of `allowBuilds`, so the approval list in docs/pnpm-workspace.yaml no longer registered and every install failed with ERR_PNPM_IGNORED_BUILDS for @tailwindcss/oxide, sharp, and unrs-resolver. Pinning to the version used locally keeps CI reproducible and lets it verify what developers actually run. pnpm 11 also requires Node >= 22.13, so adopting it would mean upgrading local toolchains first.
1 parent b717039 commit a356c64

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Setup pnpm
4444
uses: pnpm/action-setup@v4
4545
with:
46-
version: latest
46+
version: 10.18.3
4747

4848
- name: Enable pnpm cache
4949
uses: actions/setup-node@v4

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup pnpm
3030
uses: pnpm/action-setup@v4
3131
with:
32-
version: latest
32+
version: 10.18.3
3333

3434
- name: Enable pnpm cache
3535
uses: actions/setup-node@v4
@@ -112,7 +112,7 @@ jobs:
112112
- name: Setup pnpm
113113
uses: pnpm/action-setup@v4
114114
with:
115-
version: latest
115+
version: 10.18.3
116116

117117
- name: Enable pnpm cache (docs)
118118
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)