Skip to content

Commit fe19059

Browse files
committed
Added --package-lock=false
1 parent 5c0afc2 commit fe19059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/homebridge-beta-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
pattern=$(jq -r ".directories[$i].packages[$j].pattern // null" "$config")
112112
if [ "$tag" != "null" ]; then
113113
echo "::notice::Installing $pkg@$tag in $dir"
114-
npm install "$pkg@$tag" --save-exact || { echo "::error::Failed to install $pkg@$tag"; exit 1; }
114+
npm install "$pkg@$tag" --save-exact --package-lock=false || { echo "::error::Failed to install $pkg@$tag"; exit 1; }
115115
else
116116
unescaped_pattern=$(echo "$pattern" | sed 's/\\\+/\\/g')
117117
latest_version=$(npm view "$pkg" versions --json | jq -r ".[] | select(test(\"$unescaped_pattern\"))" | sort -V | tail -n 1)
@@ -120,7 +120,7 @@ jobs:
120120
exit 1
121121
fi
122122
echo "::notice::Installing $pkg@$latest_version in $dir"
123-
npm install "$pkg@$latest_version" --save-exact || { echo "::error::Failed to install $pkg@$latest_version"; exit 1; }
123+
npm install "$pkg@$latest_version" --save-exact --package-lock=false || { echo "::error::Failed to install $pkg@$latest_version"; exit 1; }
124124
fi
125125
done
126126
cd - > /dev/null

0 commit comments

Comments
 (0)