mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
configured circleci to use new paths
This commit is contained in:
@@ -26,11 +26,10 @@ fi
|
||||
|
||||
# These seem out of order but extract-errors must be run after jest.
|
||||
if [ $((0 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
|
||||
COMMANDS_TO_RUN+=('./node_modules/.bin/gulp lint')
|
||||
COMMANDS_TO_RUN+=('node ./scripts/tasks/eslint')
|
||||
COMMANDS_TO_RUN+=('node ./scripts/prettier/index')
|
||||
COMMANDS_TO_RUN+=('./node_modules/.bin/gulp flow')
|
||||
COMMANDS_TO_RUN+=('./node_modules/.bin/grunt build')
|
||||
COMMANDS_TO_RUN+=('./scripts/circleci/test_extract_errors.sh')
|
||||
COMMANDS_TO_RUN+=('node ./scripts/tasks/flow')
|
||||
COMMANDS_TO_RUN+=('npm run build -- --extractErrors')
|
||||
COMMANDS_TO_RUN+=('./scripts/circleci/track_stats.sh')
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
./node_modules/.bin/gulp react:extract-errors
|
||||
git checkout -- scripts/error-codes/codes.json
|
||||
|
||||
WARNINGS=$(node scripts/error-codes/print-warnings.js)
|
||||
echo "$WARNINGS"
|
||||
test ! -z "$WARNINGS"
|
||||
Reference in New Issue
Block a user