forked from facebook/create-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant steps in e2e tests (facebook#3747)
* This doesn't look needed anymore * Remove unnecessary rebuilds
- Loading branch information
Showing
3 changed files
with
3 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,11 +77,8 @@ then | |
npm cache clean || npm cache verify | ||
fi | ||
|
||
# Prevent bootstrap, we only want top-level dependencies | ||
cp package.json package.json.bak | ||
grep -v "postinstall" package.json > temp && mv temp package.json | ||
# Bootstrap monorepo | ||
yarn | ||
mv package.json.bak package.json | ||
|
||
# Start local registry | ||
tmp_registry_log=`mktemp` | ||
|
@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873 | |
# Login so we can publish packages | ||
npx [email protected] -u user -p password -e [email protected] -r http://localhost:4873 --quotes | ||
|
||
# We removed the postinstall, so do it manually here | ||
node bootstrap.js | ||
|
||
# Lint own code | ||
./node_modules/.bin/eslint --max-warnings 0 packages/babel-preset-react-app/ | ||
./node_modules/.bin/eslint --max-warnings 0 packages/create-react-app/ | ||
|
@@ -108,7 +102,6 @@ node bootstrap.js | |
cd packages/react-error-overlay/ | ||
./node_modules/.bin/eslint --max-warnings 0 src/ | ||
yarn test | ||
yarn build:prod | ||
cd ../.. | ||
cd packages/react-dev-utils/ | ||
yarn test | ||
|