diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5df5e4a8..02204c06 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -66,11 +66,11 @@ jobs: working-directory: templates/${{ matrix.template }} - run: npm i -D ../../wxt-*.tgz working-directory: templates/${{ matrix.template }} - - run: npm run compile + - run: pnpm compile if: matrix.template != 'svelte' working-directory: templates/${{ matrix.template }} - - run: npm run check + - run: pnpm check if: matrix.template == 'svelte' working-directory: templates/${{ matrix.template }} - - run: npm run build + - run: pnpm build working-directory: templates/${{ matrix.template }} diff --git a/e2e/utils.ts b/e2e/utils.ts index 6e0afc57..0144798a 100644 --- a/e2e/utils.ts +++ b/e2e/utils.ts @@ -77,7 +77,9 @@ export class TestProject { await fs.writeFile(filePath, content ?? '', 'utf-8'); } - await execaCommand('npm i --ignore-scripts', { cwd: this.root }); + await execaCommand('pnpm --ignore-workspace i --ignore-scripts', { + cwd: this.root, + }); await build({ ...config, root: this.root }); }