From 42f66ed555d49db29421899d651620fc44a1be12 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 31 Jan 2024 18:46:30 -0500 Subject: [PATCH] swap corepack for npx --- test/integration.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration.test.js b/test/integration.test.js index e9785228..1043f3ac 100644 --- a/test/integration.test.js +++ b/test/integration.test.js @@ -33,10 +33,10 @@ for (const integrationTest of readdirSync(integrationDir)) { ); await writeFile( path.join(currentIntegrationDir, 'package.json'), - JSON.stringify({ packageManager: 'pnpm@8.14.3', dependencies: { sharp: '0.33.2' } }) + JSON.stringify({ dependencies: { sharp: '0.33.2' } }) ); traceBase = currentIntegrationDir - await exec(`corepack enable && pnpm i`, { cwd: currentIntegrationDir, stdio: 'inherit' }); + await exec(`npx pnpm@8.14.3 install`, { cwd: currentIntegrationDir, stdio: 'inherit' }); } const { fileList, reasons, warnings } = await nodeFileTrace(