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

@@ -87,7 +87,7 @@ jobs:
run: |
cd adminfront
npm install -g pnpm
pnpm install -C ../common
pnpm install -C ../common --no-frozen-lockfile
- name: Biome check adminfront (lint + format)
run: |
@@ -99,7 +99,7 @@ jobs:
run: |
cd devfront
npm install -g pnpm
pnpm install -C ../common
pnpm install -C ../common --no-frozen-lockfile
- name: Biome check devfront (lint + format)
run: |
@@ -111,7 +111,7 @@ jobs:
run: |
cd orgfront
npm install -g pnpm
pnpm install -C ../common
pnpm install -C ../common --no-frozen-lockfile
- name: Biome check orgfront (lint + format)
run: |
@@ -674,7 +674,7 @@ jobs:
set +e
cd devfront
npm install -g pnpm
pnpm install -C ../common 2>&1 | tee ../reports/devfront-install.log
pnpm install -C ../common --no-frozen-lockfile 2>&1 | tee ../reports/devfront-install.log
install_exit_code=${PIPESTATUS[0]}
cd ..
set -e
@@ -856,7 +856,7 @@ jobs:
set +e
cd orgfront
npm install -g pnpm
pnpm install -C ../common 2>&1 | tee ../reports/orgfront-install.log
pnpm install -C ../common --no-frozen-lockfile 2>&1 | tee ../reports/orgfront-install.log
install_exit_code=${PIPESTATUS[0]}
cd ..
set -e

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