Skip to content

Commit

Permalink
Print some more information
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Jul 30, 2024
1 parent d45ee20 commit 2738527
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,7 @@ result_file="${OUTPUT}results.json"

# Check yarn
if test -f "$ROOT/corepack.tgz"; then
# COREPACK_ENABLE_NETWORK=0 corepack install -g "$ROOT/corepack.tgz"
echo "'$ROOT/corepack.tgz' found. Expect global yarn to be available."
else
echo "Did not find '$ROOT/corepack.tgz'. You either need network access or run corepack pack first when network is enabled."
ls -aln1 "$ROOT"

fi;

# In case it's not yet enabled
Expand All @@ -188,8 +183,10 @@ echo ""
echo "---------------------------------------------------------------"

if test -f "${OUTPUT}package.json"; then
ls -aln1 "$OUTPUT"

echo "Standalone package found" #, installing packages from cache"
cd "${OUTPUT}" && YARN_ENABLE_NETWORK=false YARN_ENABLE_HARDENED_MODE=false YARN_ENABLE_OFFLINE_MODE=true YARN_ENABLE_GLOBAL_CACHE=false corepack yarn install --immutable
cd "${OUTPUT}" && pwd && YARN_ENABLE_NETWORK=false YARN_ENABLE_HARDENED_MODE=false YARN_ENABLE_OFFLINE_MODE=true YARN_ENABLE_GLOBAL_CACHE=false corepack yarn install --immutable
echo "---------------------------------------------------------------"
fi;

Expand Down

0 comments on commit 2738527

Please sign in to comment.