1
0
forked from baron/baron-sso

fix(ci): update github actions to properly support pnpm workspace

This commit is contained in:
2026-05-15 13:20:13 +09:00
parent 55d5e58783
commit 9f7b925e73
5 changed files with 16 additions and 22 deletions

View File

@@ -133,7 +133,7 @@ fi
set +e
(
cd "$tmp_dir/adminfront"
npm ci --ignore-scripts
npm install -g pnpm && pnpm install -C ../common
) 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 ci --ignore-scripts\`"
echo "\`cd adminfront && npm install -g pnpm && pnpm install -C ../common\`"
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 ci --ignore-scripts\`"
echo "2. \`npm install -g pnpm && pnpm install -C ../common\`"
echo "3. \`${playwright_install_desc}\`"
echo "4. \`node ./node_modules/playwright/cli.js test\`"
echo