Преглед изворни кода

fix: run yarn install if needed

logonoff пре 4 месеци
родитељ
комит
cba009ae9e
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      test-frontend.sh

+ 4 - 0
test-frontend.sh

@@ -6,6 +6,10 @@ set -euo pipefail
 OPENSHIFT_CI=${OPENSHIFT_CI:=false}
 ARTIFACT_DIR=${ARTIFACT_DIR:=/tmp/artifacts}
 
+if [ ! -d node_modules ]; then
+  yarn install --immutable
+fi
+
 yarn i18n
 GIT_STATUS="$(git status --short --untracked-files -- locales)"
 if [ -n "$GIT_STATUS" ]; then