From 91807bd487f2638e5a4db7e02595aed4312958c9 Mon Sep 17 00:00:00 2001 From: Khsmty Date: Wed, 18 Oct 2023 16:26:26 +0900 Subject: [PATCH] fix: option didn't work --- script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.sh b/script.sh index 221c9f6..c03e1a7 100755 --- a/script.sh +++ b/script.sh @@ -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