1
0
forked from baron/baron-sso

fix(ci): use --no-frozen-lockfile for pnpm install to bypass strict lockfile validation errors in github actions

This commit is contained in:
2026-05-15 16:17:39 +09:00
parent d28a121d6c
commit cca8aea7a2
2 changed files with 8 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ fi
set +e
(
cd "$tmp_dir/adminfront"
npm install -g pnpm && pnpm install -C ../common
npm install -g pnpm && pnpm install -C ../common --no-frozen-lockfile
) 2>&1 | tee reports/adminfront-install.log
install_exit_code=${PIPESTATUS[0]}
set -e
@@ -148,7 +148,7 @@ if [ "$install_exit_code" -ne 0 ]; then
echo "- Exit Code: \`$install_exit_code\`"
echo
echo "## Command"
echo "\`cd adminfront && npm install -g pnpm && pnpm install -C ../common\`"
echo "\`cd adminfront && npm install -g pnpm && pnpm install -C ../common --no-frozen-lockfile\`"
echo
echo "## Install Log Tail (last 200 lines)"
echo '```text'
@@ -215,7 +215,7 @@ if [ "$test_exit_code" -ne 0 ]; then
echo
echo "## Commands"
echo "1. \`cd adminfront\`"
echo "2. \`npm install -g pnpm && pnpm install -C ../common\`"
echo "2. \`npm install -g pnpm && pnpm install -C ../common --no-frozen-lockfile\`"
echo "3. \`${playwright_install_desc}\`"
echo "4. \`npx playwright test\`"
echo