Skip to content

Commit 797ec98

Browse files
c3: pin C3 e2e tests to use the local version of create-cloudflare rather than latest (#8442)
1 parent 74b0c73 commit 797ec98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-cloudflare/e2e-tests/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const runC3 = async (
109109
// We don't use the "test" package manager here (i.e. TEST_PM and TEST_PM_VERSION) because yarn 1.x doesn't actually provide a `dlx` version.
110110
// And in any case, this first step just installs a temp copy of create-cloudflare and executes it.
111111
// The point of `detectPackageManager()` is for delegating to framework tooling when generating a project correctly.
112-
const cmd = ["pnpx", "create-cloudflare", ...argv];
112+
const cmd = ["pnpx", `create-cloudflare@${version}`, ...argv];
113113
const proc = spawnWithLogging(
114114
cmd,
115115
{ env: testEnv, cwd: tmpdir() },

0 commit comments

Comments
 (0)