mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
added test_build.sh back in
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-#!/bin/bash
|
||||
-
|
||||
-set -e
|
||||
-
|
||||
-npm run build -- --extractErrors
|
||||
-git checkout -- scripts/error-codes/codes.json
|
||||
-
|
||||
-WARNINGS=$(node scripts/error-codes/print-warnings.js)
|
||||
-echo "$WARNINGS"
|
||||
-test ! -z "$WARNINGS"
|
||||
@@ -29,7 +29,7 @@ if [ $((0 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
|
||||
COMMANDS_TO_RUN+=('node ./scripts/tasks/eslint')
|
||||
COMMANDS_TO_RUN+=('node ./scripts/prettier/index')
|
||||
COMMANDS_TO_RUN+=('node ./scripts/tasks/flow')
|
||||
COMMANDS_TO_RUN+=('npm run build -- --extractErrors')
|
||||
COMMANDS_TO_RUN+=('./scripts/circleci/test_build.sh')
|
||||
COMMANDS_TO_RUN+=('./scripts/circleci/track_stats.sh')
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user