From fc3b14e413e45fa239bce359a5648644afaf4c4c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 6 Aug 2020 09:47:35 +0200 Subject: Limit github actions on PR --- scripts/build/client.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/build') diff --git a/scripts/build/client.sh b/scripts/build/client.sh index 75da6765c..b2c2e3bfb 100755 --- a/scripts/build/client.sh +++ b/scripts/build/client.sh @@ -154,7 +154,9 @@ if [ -z ${1+x} ] || ([ "$1" != "--light" ] && [ "$1" != "--analyze-bundle" ]); t done fi -cd ../ && npm run build:embed && cd client/ +if [ ! -z ${1+x} ] && [ "$1" == "--analyze-bundle" ]; then + cd ../ && npm run build:embed && cd client/ +fi # Copy runtime locales cp -r "./src/locale" "./dist/locale" -- cgit v1.2.3