[macOS] do not iterate over npm packages on Ventura (#8175)
This commit is contained in:
@@ -10,10 +10,12 @@ brew link node@$defaultVersion --force --overwrite
|
|||||||
echo Installing yarn...
|
echo Installing yarn...
|
||||||
curl -fsSL https://yarnpkg.com/install.sh | bash
|
curl -fsSL https://yarnpkg.com/install.sh | bash
|
||||||
|
|
||||||
|
if ! is_Ventura || ! is_VenturaArm64; then
|
||||||
npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')
|
npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')
|
||||||
for module in ${npm_global_packages[@]}; do
|
for module in ${npm_global_packages[@]}; do
|
||||||
echo "Install $module"
|
echo "Install $module"
|
||||||
npm install -g $module
|
npm install -g $module
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
invoke_tests "Node" "Node.js"
|
invoke_tests "Node" "Node.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user