From 97ad6682f7d54af8886144bc5a179fa7242f1f1f Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 25 Sep 2022 00:36:09 -0700 Subject: [PATCH] Re-order frontend build steps --- build.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/build.sh b/build.sh index 9e99da279..7c58aca0c 100755 --- a/build.sh +++ b/build.sh @@ -400,19 +400,15 @@ then UploadTestArtifacts "net6.0" fi -if [ "$LINT" = "YES" ]; -then - if [ -z "$FRONTEND" ]; - then - YarnInstall - fi - - LintUI -fi - if [ "$FRONTEND" = "YES" ]; then YarnInstall + + if [ "$LINT" = "YES" ]; + then + LintUI + fi + RunWebpack UploadUIArtifacts fi