From 7943a67bdcd1157006d769e7579d46572f91ddba Mon Sep 17 00:00:00 2001 From: "Andrew (shixish)" Date: Fri, 27 Nov 2026 11:59:38 -1000 Subject: [PATCH] fix(ci): make the worker fixture its own pnpm workspace root The root pnpm-workspace.yaml (fe3b6d4) made pnpm treat fixtures/worker as part of the root workspace, so `pnpm install` there no longer installed wrangler/vitest and the cloudflare worker fixture job failed in Tests and as a gate in release.yml. Co-Authored-By: Claude Opus 5.5 --- fixtures/worker/pnpm-workspace.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fixtures/worker/pnpm-workspace.yaml diff --git a/fixtures/worker/pnpm-workspace.yaml b/fixtures/worker/pnpm-workspace.yaml new file mode 100644 index 0000000..60a9c6c --- /dev/null +++ b/fixtures/worker/pnpm-workspace.yaml @@ -0,0 +1,8 @@ +# Makes this fixture its own pnpm workspace root, with its own pnpm-lock.yaml. +# Without this file, pnpm walks up to the repo's root pnpm-workspace.yaml, +# treats this directory as part of that workspace, and `pnpm install` here +# skips the fixture's own dependencies (so `pnpm exec wrangler` is not found). +onlyBuiltDependencies: + - esbuild + - sharp + - workerd