Skip to content

Commit

Permalink
update installScripts command
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Sep 27, 2022
1 parent dec3c86 commit 7ebef8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ function run() {
defaultValue: false,
option: '--installScripts',
command: () => {
return spawn('yarn install', { cwd: path.join('..', 'scripts') });
const command = process.env.CI ? `yarn install --immutable` : `yarn install`;
return spawn(command, { cwd: path.join('..', 'scripts') });
},
order: 10,
}),
Expand Down

0 comments on commit 7ebef8e

Please sign in to comment.