Skip to content

Commit

Permalink
use pnpm for installing globally because E2E tests is failed in envir…
Browse files Browse the repository at this point in the history
…onment that npm is managed by corepack
  • Loading branch information
mizdra committed Nov 5, 2023
1 parent a7255a6 commit 4e14fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-test/global-installation/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const LF = String.fromCharCode(0x0a); // \n

beforeAll(() => {
process.stderr.write('🤖 Installing eslint globally...\n');
execSync(`npm install -g eslint@${ESLint.version}`); // Install the same version globally that was installed locally
execSync(`npm install -g eslint@${ESLint.version}`, { cwd: __dirname }); // Install the same version globally that was installed locally
process.stderr.write('🤖 Packing eslint-interactive...\n');
execSync('npm pack ../../', { cwd: __dirname });
process.stderr.write('🤖 Installing eslint-interactive globally...\n');
Expand Down

0 comments on commit 4e14fe0

Please sign in to comment.