From c4b0f0fbbfca129c1d208d0c71984ce980026e34 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Thu, 18 Aug 2022 11:15:21 -0400 Subject: [PATCH] CI: Pass --no-frozen-lockfile to pnpm in "Lock files are up to date" 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. --- .github/files/check-lock-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/files/check-lock-files.sh b/.github/files/check-lock-files.sh index 2b9da12158280..d45739a8f9201 100755 --- a/.github/files/check-lock-files.sh +++ b/.github/files/check-lock-files.sh @@ -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.