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