forked from baron/baron-sso
러너 패키지 설치 오류 수정
This commit is contained in:
@@ -6,18 +6,8 @@ job_name="${1:-adminfront-tests}"
|
||||
mkdir -p reports
|
||||
rm -rf adminfront/node_modules
|
||||
|
||||
PLAYWRIGHT_BROWSERS_PATH="${HOME}/.cache/ms-playwright"
|
||||
PLAYWRIGHT_CHROMIUM_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/chromium-1208/INSTALLATION_COMPLETE"
|
||||
PLAYWRIGHT_FIREFOX_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/firefox-1509/INSTALLATION_COMPLETE"
|
||||
PLAYWRIGHT_WEBKIT_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/webkit-2248/INSTALLATION_COMPLETE"
|
||||
|
||||
if [ -f "$PLAYWRIGHT_CHROMIUM_COMPLETE" ] && [ -f "$PLAYWRIGHT_FIREFOX_COMPLETE" ] && [ -f "$PLAYWRIGHT_WEBKIT_COMPLETE" ]; then
|
||||
playwright_install_cmd=(sh -c 'echo "Playwright browsers already installed"')
|
||||
playwright_install_desc="Playwright browsers already installed"
|
||||
else
|
||||
playwright_install_cmd=(npx playwright install)
|
||||
playwright_install_desc="npx playwright install"
|
||||
fi
|
||||
playwright_install_cmd=(npx playwright install --with-deps)
|
||||
playwright_install_desc="npx playwright install --with-deps"
|
||||
|
||||
set +e
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user