1
0
forked from baron/baron-sso

adminfront ci test 스크립트 수정

This commit is contained in:
2026-04-28 15:15:47 +09:00
parent 7607d8d9b9
commit f4d894fe7d

View File

@@ -80,7 +80,8 @@ port="${PORT:-5180}"
echo "==> adminfront using PORT=$port" echo "==> adminfront using PORT=$port"
( (
cd adminfront cd adminfront
PORT="$port" PLAYWRIGHT_WORKERS="${PLAYWRIGHT_WORKERS:-1}" npm test PORT="$port" PLAYWRIGHT_WORKERS="${PLAYWRIGHT_WORKERS:-1}" \
node ./node_modules/playwright/cli.js test
) 2>&1 | tee reports/adminfront-test.log ) 2>&1 | tee reports/adminfront-test.log
test_exit_code=${PIPESTATUS[0]} test_exit_code=${PIPESTATUS[0]}
set -e set -e
@@ -97,7 +98,7 @@ if [ "$test_exit_code" -ne 0 ]; then
echo "1. \`cd adminfront\`" echo "1. \`cd adminfront\`"
echo "2. \`npm ci --ignore-scripts\`" echo "2. \`npm ci --ignore-scripts\`"
echo "3. \`${playwright_install_desc}\`" echo "3. \`${playwright_install_desc}\`"
echo "4. \`npm test\`" echo "4. \`node ./node_modules/playwright/cli.js test\`"
echo echo
echo "## Log Tail (last 200 lines)" echo "## Log Tail (last 200 lines)"
echo '```text' echo '```text'