Unverified Commit ebddb83d authored by Joe Haddad's avatar Joe Haddad Committed by GitHub
Browse files

Remove redundant steps in e2e tests (#3747)

* This doesn't look needed anymore

* Remove unnecessary rebuilds
parent 29e06fc9
Showing with 3 additions and 30 deletions
+3 -30
...@@ -73,18 +73,8 @@ then ...@@ -73,18 +73,8 @@ then
npm cache clean || npm cache verify npm cache clean || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Bootstrap monorepo
cp package.json package.json.bak
grep -v "postinstall" package.json > temp && mv temp package.json
yarn yarn
mv package.json.bak package.json
# We removed the postinstall, so do it manually
node bootstrap.js
cd packages/react-error-overlay/
yarn run build:prod
cd ../..
# ****************************************************************************** # ******************************************************************************
# First, publish the monorepo. # First, publish the monorepo.
......
...@@ -65,18 +65,8 @@ then ...@@ -65,18 +65,8 @@ then
npm cache clean || npm cache verify npm cache clean || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Bootstrap monorepo
cp package.json package.json.bak
grep -v "postinstall" package.json > temp && mv temp package.json
yarn yarn
mv package.json.bak package.json
# We removed the postinstall, so do it manually
node bootstrap.js
cd packages/react-error-overlay/
yarn build:prod
cd ../..
# ****************************************************************************** # ******************************************************************************
# First, publish the monorepo. # First, publish the monorepo.
......
...@@ -77,11 +77,8 @@ then ...@@ -77,11 +77,8 @@ then
npm cache clean || npm cache verify npm cache clean || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Bootstrap monorepo
cp package.json package.json.bak
grep -v "postinstall" package.json > temp && mv temp package.json
yarn yarn
mv package.json.bak package.json
# Start local registry # Start local registry
tmp_registry_log=`mktemp` tmp_registry_log=`mktemp`
...@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873 ...@@ -96,9 +93,6 @@ yarn config set registry http://localhost:4873
# Login so we can publish packages # Login so we can publish packages
npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r http://localhost:4873 --quotes npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r http://localhost:4873 --quotes
# We removed the postinstall, so do it manually here
node bootstrap.js
# Lint own code # Lint own code
./node_modules/.bin/eslint --max-warnings 0 packages/babel-preset-react-app/ ./node_modules/.bin/eslint --max-warnings 0 packages/babel-preset-react-app/
./node_modules/.bin/eslint --max-warnings 0 packages/create-react-app/ ./node_modules/.bin/eslint --max-warnings 0 packages/create-react-app/
...@@ -108,7 +102,6 @@ node bootstrap.js ...@@ -108,7 +102,6 @@ node bootstrap.js
cd packages/react-error-overlay/ cd packages/react-error-overlay/
./node_modules/.bin/eslint --max-warnings 0 src/ ./node_modules/.bin/eslint --max-warnings 0 src/
yarn test yarn test
yarn build:prod
cd ../.. cd ../..
cd packages/react-dev-utils/ cd packages/react-dev-utils/
yarn test yarn test
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment