Skip to content

Commit

Permalink
fix: show error with unsupported package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Khsmty committed Oct 18, 2023
1 parent 91807bd commit 053e022
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ elif [[ "${INPUT_PACKAGE_MANAGER}" == "pnpm" ]]; then
echo 'pnpm install start'
pnpm install
else
echo 'npm ci start'
npm ci
echo 'The specified package manager is not supported.'
echo '::endgroup::'
exit 1
fi

if [ -x "./node_modules/.bin/textlint" ]; then
Expand Down

0 comments on commit 053e022

Please sign in to comment.