Skip to content

Commit

Permalink
Use the global cache in sandbox mode
Browse files Browse the repository at this point in the history
so we aren't re-caching dependencies each time we run sandbox
  • Loading branch information
tmeasday committed Aug 2, 2022
1 parent a29aef2 commit dc82898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const addPackageResolutions = async ({ cwd, dryRun }: YarnOptions) => {
export const installYarn2 = async ({ cwd, dryRun }: YarnOptions) => {
const command = [
`yarn set version berry`,
// Use the global cache so we aren't re-caching dependencies each time
// Use the global cache so we aren't re-caching dependencies each time we run sandbox
`yarn config set enableGlobalCache true`,
`yarn config set nodeLinker node-modules`,
];
Expand Down

0 comments on commit dc82898

Please sign in to comment.