Skip to content

Commit

Permalink
Fix build failure when using Yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat authored May 17, 2021
1 parent 3b8d893 commit e056066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ npm i -g npm@^7
if [[ "$INPUT_PACKAGE_MANAGER" == "npm" ]]; then
npm ci
else
# Yarn is usually installed as part of `actions/setup-node`
# so let's ignore any errors here.
set +e
npm i -g yarn
set -e
yarn install --frozen-lockfile
fi

Expand Down

0 comments on commit e056066

Please sign in to comment.