Skip to content

Commit

Permalink
swap corepack for npx
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Jan 31, 2024
1 parent f51af61 commit 42f66ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ for (const integrationTest of readdirSync(integrationDir)) {
);
await writeFile(
path.join(currentIntegrationDir, 'package.json'),
JSON.stringify({ packageManager: '[email protected]', 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(
Expand Down

0 comments on commit 42f66ed

Please sign in to comment.