From 07dc95a6c70c1db18a5931d4b398a9456002c866 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 16 Jan 2020 16:50:11 +0100 Subject: [PATCH] Added silent execution for npm --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 55d00bd..0b2adeb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,4 @@ #!/bin/sh -l - set -eu # Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh) @@ -17,9 +16,10 @@ EOF git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" } + echo "Installing dependencies..." -npm install -npm install --global prettier +npm install --silent +npm install --silent --global prettier echo "Prettifing files..." prettier $INPUT_PRETTIER_OPTIONS