Skip to content

Commit 26197e7

Browse files
committed
run npm 5.4.0 in CI
1 parent 5ea6de9 commit 26197e7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tasks/e2e-installs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ fi
9595

9696
if hash npm 2>/dev/null
9797
then
98-
# npm 5 is too buggy right now
98+
# npm 5.0-5.3 is too buggy
9999
if [ $(npm -v | head -c 1) -eq 5 ]; then
100-
npm i -g npm@^4.x
100+
npm i -g npm@^5.4.0
101101
fi;
102102
npm cache clean || npm cache verify
103103
fi

tasks/e2e-kitchensink.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ fi
8787

8888
if hash npm 2>/dev/null
8989
then
90-
# npm 5 is too buggy right now
90+
# npm 5.0-5.3 is too buggy
9191
if [ $(npm -v | head -c 1) -eq 5 ]; then
92-
npm i -g npm@^4.x
92+
npm i -g npm@^5.4.0
9393
fi;
9494
npm cache clean || npm cache verify
9595
fi
@@ -163,8 +163,8 @@ npm install test-integrity@^2.0.1
163163
# Enter the app directory
164164
cd "$temp_app_path/test-kitchensink"
165165

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

169169
# Link to test module
170170
npm link "$temp_module_path/node_modules/test-integrity"

tasks/e2e-simple.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ fi
8686

8787
if hash npm 2>/dev/null
8888
then
89-
# npm 5 is too buggy right now
89+
# npm 5.0-5.3 is too buggy
9090
if [ $(npm -v | head -c 1) -eq 5 ]; then
91-
npm i -g npm@^4.x
91+
npm i -g npm@^5.4.0
9292
fi;
9393
npm cache clean || npm cache verify
9494
fi

0 commit comments

Comments
 (0)