Răsfoiți Sursa

Merge pull request #108 from logonoff/yarn

NO-JIRA: fix: run yarn install if needed
openshift-merge-bot[bot] 4 luni în urmă
părinte
comite
afb40aaf60
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  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