Evan You 8 лет назад
Родитель
Сommit
83037828d7
1 измененных файлов с 7 добавлено и 5 удалено
  1. 7 5
      build/release.sh

+ 7 - 5
build/release.sh

@@ -12,11 +12,13 @@ echo
 if [[ $REPLY =~ ^[Yy]$ ]]; then
   echo "Releasing $VERSION ..."
 
-  npm run lint
-  npm run flow
-  npm run test:cover
-  npm run test:e2e
-  npm run test:ssr
+  if [[ -z $SKIP_TESTS ]]; then
+    npm run lint
+    npm run flow
+    npm run test:cover
+    npm run test:e2e
+    npm run test:ssr
+  fi
 
   if [[ -z $SKIP_SAUCE ]]; then
     export SAUCE_BUILD_ID=$VERSION:`date +"%s"`