Added working_directory parameter

This commit is contained in:
2021-11-30 17:18:31 +01:00
parent b1dc9cd3b3
commit 8efb5a885e
3 changed files with 15 additions and 2 deletions

View File

@@ -37,6 +37,14 @@ cd "$GITHUB_ACTION_PATH"
echo "Installing prettier..."
case $INPUT_WORKING_DIRECTORY in
false)
;;
*)
cd $INPUT_WORKING_DIRECTORY
;;
esac
case $INPUT_PRETTIER_VERSION in
false)
npm install --silent prettier