This repository was archived by the owner on Jan 26, 2019. It is now read-only.
File tree 4 files changed +16
-4
lines changed
4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2
2
language : node_js
3
3
node_js :
4
4
- 6
5
- - 7
5
+ - 8
6
6
cache :
7
7
directories :
8
8
- node_modules
Original file line number Diff line number Diff line change 95
95
96
96
if hash npm 2> /dev/null
97
97
then
98
- npm cache clean
98
+ # npm 5 is too buggy right now
99
+ if [ $( npm -v | head -c 1) -eq 5 ]; then
100
+ npm i -g npm@^4.x
101
+ fi ;
102
+ npm cache clean || npm cache verify
99
103
fi
100
104
101
105
# Prevent lerna bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 87
87
88
88
if hash npm 2> /dev/null
89
89
then
90
- npm cache clean
90
+ # npm 5 is too buggy right now
91
+ if [ $( npm -v | head -c 1) -eq 5 ]; then
92
+ npm i -g npm@^4.x
93
+ fi ;
94
+ npm cache clean || npm cache verify
91
95
fi
92
96
93
97
# Prevent lerna bootstrap, we only want top-level dependencies
Original file line number Diff line number Diff line change 86
86
87
87
if hash npm 2> /dev/null
88
88
then
89
- npm cache clean
89
+ # npm 5 is too buggy right now
90
+ if [ $( npm -v | head -c 1) -eq 5 ]; then
91
+ npm i -g npm@^4.x
92
+ fi ;
93
+ npm cache clean || npm cache verify
90
94
fi
91
95
92
96
# Prevent lerna bootstrap, we only want top-level dependencies
You can’t perform that action at this time.
0 commit comments