Skip to content

Commit ed3b670

Browse files
committed
fix(ci): invoke cloudflare:preview via pnpm filter so wrangler resolves
wrangler's bin is hoisted to apps/cloudflare/node_modules/.bin under pnpm, not repo-root node_modules/.bin, so the previous direct path failed with ENOENT in CI. Delegating to the package script via `pnpm --filter` resolves wrangler from the right workspace and keeps stdout attached (no turbo buffering).
1 parent 35a58e3 commit ed3b670

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/cloudflare/playwright.platform.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ export default {
1111
baseURL: 'http://127.0.0.1:8787',
1212
webServer: {
1313
stdout: 'pipe',
14-
command:
15-
'../../node_modules/.bin/wrangler dev --config ../cloudflare/wrangler.jsonc',
14+
command: 'pnpm --filter=@node-core/platform-cloudflare cloudflare:preview',
1615
url: 'http://127.0.0.1:8787',
1716
timeout: 60_000 * 3,
1817
},

0 commit comments

Comments
 (0)