Skip to content

Commit

Permalink
CI: Pass --no-frozen-lockfile to pnpm in "Lock files are up to date" …
Browse files Browse the repository at this point in the history
…check (#25704)

Pnpm sets `--frozen-lockfile` by default in CI environments, which we
specifically don't want for this check as it ignores certain optional
updates.
  • Loading branch information
anomiex authored Aug 18, 2022
1 parent 7cdce61 commit c4b0f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/files/check-lock-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ done
for FILE in $(git -c core.quotepath=off ls-files 'pnpm-lock.yaml' '**/pnpm-lock.yaml'); do
cd $(dirname "$FILE")
echo "::group::$FILE - pnpm install"
pnpm install
pnpm install --no-frozen-lockfile
echo "::endgroup::"
if ! git diff --exit-code pnpm-lock.yaml; then
echo "---" # Bracket message containing newlines for better visibility in GH's logs.
Expand Down

0 comments on commit c4b0f0f

Please sign in to comment.