Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export const installYarn2 = async ({ cwd, dryRun, debug }: YarnOptions) => {
`yarn set version berry`,
`yarn config set enableGlobalCache true`, // Use the global cache so we aren't re-caching dependencies each time we run sandbox
`yarn config set checksumBehavior ignore`,
// Yarn 4.15.0 defaults `npmMinimalAgeGate` to 1d, which quarantines freshly
// published Storybook packages from the local Verdaccio registry. Disable
// the gate inside sandboxes so installs aren't blocked.
`yarn config set npmMinimalAgeGate 0`,
];

if (!pnpApiExists) {
Expand Down
Loading