forked from baron/baron-sso
ci(userfront-e2e): add chromium fast lane
This commit is contained in:
@@ -20,4 +20,16 @@ if grep -Fq -- "pnpm list -C ../common @playwright/test" "$WORKFLOW_FILE"; then
|
||||
fail "Code Check workflow must not call pnpm list before pnpm install"
|
||||
fi
|
||||
|
||||
grep -Fq -- "run_userfront_e2e_full:" "$WORKFLOW_FILE" || \
|
||||
fail "Code Check workflow must expose a manual full userfront-e2e switch"
|
||||
|
||||
grep -Fq -- "USERFRONT_E2E_FULL:" "$WORKFLOW_FILE" || \
|
||||
fail "Code Check workflow must map the full userfront-e2e input into the job environment"
|
||||
|
||||
grep -Fq -- "npx playwright install --with-deps chromium" "$WORKFLOW_FILE" || \
|
||||
fail "Userfront E2E fast lane must provision Chromium only"
|
||||
|
||||
grep -Fq -- "npm test -- --project=chromium-desktop --project=chromium-mobile-webapp" "$WORKFLOW_FILE" || \
|
||||
fail "Userfront E2E fast lane must run only Chromium desktop and mobile projects"
|
||||
|
||||
echo "OK: Code Check Playwright cache keys do not depend on preinstalled node_modules"
|
||||
|
||||
Reference in New Issue
Block a user