File tree 3 files changed +33
-0
lines changed
3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,17 @@ set -x
83
83
cd ..
84
84
root_path=$PWD
85
85
86
+ # Clear cache to avoid issues with incorrect packages being used
87
+ if hash yarnpkg 2> /dev/null
88
+ then
89
+ yarn cache clean
90
+ fi
91
+
92
+ if hash npm 2> /dev/null
93
+ then
94
+ npm cache clean
95
+ fi
96
+
86
97
# Prevent lerna bootstrap, we only want top-level dependencies
87
98
cp package.json package.json.bak
88
99
grep -v " lerna bootstrap" package.json > temp && mv temp package.json
Original file line number Diff line number Diff line change @@ -66,6 +66,17 @@ set -x
66
66
cd ..
67
67
root_path=$PWD
68
68
69
+ # Clear cache to avoid issues with incorrect packages being used
70
+ if hash yarnpkg 2> /dev/null
71
+ then
72
+ yarn cache clean
73
+ fi
74
+
75
+ if hash npm 2> /dev/null
76
+ then
77
+ npm cache clean
78
+ fi
79
+
69
80
# Prevent lerna bootstrap, we only want top-level dependencies
70
81
cp package.json package.json.bak
71
82
grep -v " lerna bootstrap" package.json > temp && mv temp package.json
Original file line number Diff line number Diff line change @@ -65,6 +65,17 @@ set -x
65
65
cd ..
66
66
root_path=$PWD
67
67
68
+ # Clear cache to avoid issues with incorrect packages being used
69
+ if hash yarnpkg 2> /dev/null
70
+ then
71
+ yarn cache clean
72
+ fi
73
+
74
+ if hash npm 2> /dev/null
75
+ then
76
+ npm cache clean
77
+ fi
78
+
68
79
# Prevent lerna bootstrap, we only want top-level dependencies
69
80
cp package.json package.json.bak
70
81
grep -v " lerna bootstrap" package.json > temp && mv temp package.json
You can’t perform that action at this time.
0 commit comments