Skip to content

Commit

Permalink
Forcefully disable global cache
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Jul 29, 2024
1 parent 6d295b6 commit 6fd27e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ if test -f "$ROOT/corepack.tgz"; then
COREPACK_ENABLE_NETWORK=0 corepack install -g "$ROOT/corepack.tgz"
else
echo "Did not find '$ROOT/corepack.tgz'. You either need network access or run corepack pack first when network is enabled."
ls -ln1 "$ROOT"
ls -aln1 "$ROOT"
fi;

YARN_ENABLE_OFFLINE_MODE=1 yarn -v
Expand All @@ -181,7 +181,7 @@ echo "------------------------------------"

if test -f "${OUTPUT}package.json"; then
echo "Standalone package found, installing packages from cache"
cd "${OUTPUT}" && YARN_ENABLE_OFFLINE_MODE=1 yarn workspaces focus --production
cd "${OUTPUT}" && YARN_ENABLE_OFFLINE_MODE=1 YARN_ENABLE_GLOBAL_CACHE=false yarn workspaces focus --production
fi;

# Disable auto exit
Expand Down

0 comments on commit 6fd27e0

Please sign in to comment.