Skip to content

Commit

Permalink
ci: validate cli with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Jul 26, 2024
1 parent 40d2e0e commit 98da80e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/validate-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
statSync,
writeFileSync,
} from 'node:fs';
import { fileURLToPath, pathToFileURL } from 'node:url';
import { join, relative } from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
import { readPackageJson, writePackageJson } from './package-json';

import assert from 'assert';
Expand Down Expand Up @@ -87,8 +87,8 @@ async function validateStarter(
accessSync(tsconfigPath);

const { execa } = await import('execa');
console.log(`${emoji} ${starterId}: npm install`);
await execa('npm', ['install', '--legacy-peer-deps'], { cwd: appDir, stdout: 'inherit' });
console.log(`${emoji} ${starterId}: pnpm install`);
await execa('pnpm', ['install'], { cwd: appDir, stdout: 'inherit' });

// console.log(`${emoji} ${projectName}: copy @builder.io/qwik distribution`);
// const qwikNodeModule = join(appDir, 'node_modules', '@builder.io', 'qwik');
Expand Down

0 comments on commit 98da80e

Please sign in to comment.