Removed unneccessary dependency install

This commit is contained in:
2020-01-24 12:44:10 +01:00
parent 7524f50124
commit cbf12d08d5
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ inputs:
prettier_options:
description: Options for the 'prettier' command
required: false
default: --write "**/*.js"
default: "--write '**/*.js'"
branch:
description: Branch which the changes are merged to
required: true

View File

@@ -18,12 +18,13 @@ EOF
git config --global user.name "GitHub Actions"
}
echo "Installing dependencies..."
npm install --silent
echo "Installing prettier..."
npm install --silent --global prettier
echo "Prettifing files..."
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem prettifing your files"
ls
if ! git diff --quiet
then
echo "Commiting and pushing changes..."