Skip to content

Commit

Permalink
fix: option didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Khsmty committed Oct 18, 2023
1 parent 6d058a5 commit 91807bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ echo '::endgroup::'
echo '::group:: Installing textlint ... https://github.com/textlint/textlint'
if [ -x "./node_modules/.bin/textlint" ]; then
echo 'already installed'
elif INPUT_PACKAGE_MANAGER=npm; then
elif [[ "${INPUT_PACKAGE_MANAGER}" == "npm" ]]; then
echo 'npm ci start'
npm ci
elif INPUT_PACKAGE_MANAGER=yarn; then
elif [[ "${INPUT_PACKAGE_MANAGER}" == "yarn" ]]; then
echo 'yarn install start'
yarn install
elif INPUT_PACKAGE_MANAGER=pnpm; then
elif [[ "${INPUT_PACKAGE_MANAGER}" == "pnpm" ]]; then
echo 'pnpm install start'
pnpm install
else
Expand Down

0 comments on commit 91807bd

Please sign in to comment.