Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run npm 5 on CI #2792

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ fi

if hash npm 2>/dev/null
then
# npm 5 is too buggy right now
# npm 5.0-5.2 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x
npm i -g npm@^5.3.0
fi;
npm cache clean || npm cache verify
fi
Expand Down
8 changes: 4 additions & 4 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ fi

if hash npm 2>/dev/null
then
# npm 5 is too buggy right now
# npm 5.0-5.2 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x
npm i -g npm@^5.3.0
fi;
npm cache clean || npm cache verify
fi
Expand Down Expand Up @@ -163,8 +163,8 @@ npm install test-integrity@^2.0.1
# Enter the app directory
cd "$temp_app_path/test-kitchensink"

# Link to our preset
npm link "$root_path"/packages/babel-preset-react-app
# Install our preset
npm install file:"$root_path"/packages/babel-preset-react-app

# Link to test module
npm link "$temp_module_path/node_modules/test-integrity"
Expand Down
4 changes: 2 additions & 2 deletions tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ fi

if hash npm 2>/dev/null
then
# npm 5 is too buggy right now
# npm 5.0-5.2 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x
npm i -g npm@^5.3.0
fi;
npm cache clean || npm cache verify
fi
Expand Down