From 2f1b61626e8fa5dbb6bce4c4f93fbeb815e200b9 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Mon, 14 Jul 2025 16:41:47 +0200 Subject: [PATCH] chore: Use volta when running E2E tests locally To ensure we get the correct node version etc. --- dev-packages/e2e-tests/run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/run.ts b/dev-packages/e2e-tests/run.ts index 7b6efb2dd13b..cb2685ec0489 100644 --- a/dev-packages/e2e-tests/run.ts +++ b/dev-packages/e2e-tests/run.ts @@ -84,10 +84,10 @@ async function run(): Promise { const cwd = tmpDirPath; console.log(`Building ${testAppPath} in ${tmpDirPath}...`); - await asyncExec('pnpm test:build', { env, cwd }); + await asyncExec('volta run pnpm test:build', { env, cwd }); console.log(`Testing ${testAppPath}...`); - await asyncExec('pnpm test:assert', { env, cwd }); + await asyncExec('volta run pnpm test:assert', { env, cwd }); // clean up (although this is tmp, still nice to do) await rm(tmpDirPath, { recursive: true });