Re-order frontend build steps

This commit is contained in:
Mark McDowall 2022-09-25 00:36:09 -07:00
parent 3993ca9ebd
commit 97ad6682f7
1 changed files with 6 additions and 10 deletions

View File

@ -400,19 +400,15 @@ then
UploadTestArtifacts "net6.0" UploadTestArtifacts "net6.0"
fi fi
if [ "$LINT" = "YES" ];
then
if [ -z "$FRONTEND" ];
then
YarnInstall
fi
LintUI
fi
if [ "$FRONTEND" = "YES" ]; if [ "$FRONTEND" = "YES" ];
then then
YarnInstall YarnInstall
if [ "$LINT" = "YES" ];
then
LintUI
fi
RunWebpack RunWebpack
UploadUIArtifacts UploadUIArtifacts
fi fi