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

Fix AppVeyor CI (#2010)

parent d6173fd2
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 16 additions and 4 deletions
+16 -4
......@@ -83,7 +83,11 @@ set -x
cd ..
root_path=$PWD
# Prevent lerna bootstrap, we only want top-level dependencies
cp package.json package.json.bak
grep -v "lerna bootstrap" package.json > temp && mv temp package.json
npm install
mv package.json.bak package.json
if [ "$USE_YARN" = "yes" ]
then
......@@ -92,6 +96,9 @@ then
yarn cache clean
fi
# We removed the postinstall, so do it manually
./node_modules/.bin/lerna bootstrap --concurrency=1
# ******************************************************************************
# First, pack and install create-react-app.
# ******************************************************************************
......
......@@ -66,7 +66,11 @@ set -x
cd ..
root_path=$PWD
# Prevent lerna bootstrap, we only want top-level dependencies
cp package.json package.json.bak
grep -v "lerna bootstrap" package.json > temp && mv temp package.json
npm install
mv package.json.bak package.json
if [ "$USE_YARN" = "yes" ]
then
......@@ -75,6 +79,9 @@ then
yarn cache clean
fi
# We removed the postinstall, so do it manually
./node_modules/.bin/lerna bootstrap --concurrency=1
# ******************************************************************************
# First, pack react-scripts and create-react-app so we can use them.
# ******************************************************************************
......
......@@ -84,10 +84,8 @@ then
[[ $err_output =~ You\ are\ running\ Node ]] && exit 0 || exit 1
fi
# Still use npm install instead of directly calling lerna bootstrap to test
# postinstall script functionality (one npm install should result in a working
# project)
npm install
# We removed the postinstall, so do it manually here
./node_modules/.bin/lerna bootstrap --concurrency=1
if [ "$USE_YARN" = "yes" ]
then
......
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