Skip to content

Commit 6f07e5a

Browse files
authored
chore: Use volta when running E2E tests locally (#16983)
To ensure we get the correct node version etc.
1 parent 17daa16 commit 6f07e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-packages/e2e-tests/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ async function run(): Promise<void> {
8484
const cwd = tmpDirPath;
8585

8686
console.log(`Building ${testAppPath} in ${tmpDirPath}...`);
87-
await asyncExec('pnpm test:build', { env, cwd });
87+
await asyncExec('volta run pnpm test:build', { env, cwd });
8888

8989
console.log(`Testing ${testAppPath}...`);
90-
await asyncExec('pnpm test:assert', { env, cwd });
90+
await asyncExec('volta run pnpm test:assert', { env, cwd });
9191

9292
// clean up (although this is tmp, still nice to do)
9393
await rm(tmpDirPath, { recursive: true });

0 commit comments

Comments
 (0)