From 053e022faa1b1a52ecf0f08d0f8ab44cf19a6682 Mon Sep 17 00:00:00 2001 From: Khsmty Date: Wed, 18 Oct 2023 21:53:44 +0900 Subject: [PATCH] fix: show error with unsupported package manager --- script.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index c03e1a7..06ca5e6 100755 --- a/script.sh +++ b/script.sh @@ -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