Skip to content

Commit

Permalink
remove --no-save --no-package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx committed Jun 18, 2024
1 parent cad982c commit 86dc980
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/__tests__/integration/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ async function buildExample({packageJson, exampleDir}) {
(cleanDir) => fs.removeSync(path.resolve(exampleDir, cleanDir)),
);
await withCwd(exampleDir, async () => {
await exec(
`npm install --no-save --no-package-lock ${installDeps
.map((fn) => `'${fn}'`)
.join(' ')}`,
);
await exec(`npm install ${installDeps.map((fn) => `'${fn}'`).join(' ')}`);
await exec('npm run build');
if (hasPlaywright) {
await exec('npx playwright install');
Expand Down

0 comments on commit 86dc980

Please sign in to comment.