name: Jyotish Release Quality Gate on: workflow_dispatch: jobs: release-quality-gate: runs-on: ubuntu-latest timeout-minutes: 45 steps: - name: Checkout uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Set up Node uses: actions/setup-node@v4 with: node-version: '22' cache: npm cache-dependency-path: frontend/package-lock.json - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install -r requirements.txt -r requirements-dev.txt python -m pip install playwright python -m playwright install --with-deps chromium npm ci --prefix frontend - name: Print environment diagnostics run: | python --version node --version npm --version npm --prefix frontend exec -- next --version - name: Run release quality gate env: NEXT_PUBLIC_SUPABASE_URL: https://ci-placeholder.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY: ci-placeholder run: | mkdir -p artifacts python scripts/run_quality_gate.py --profile release 2>&1 | tee artifacts/release-quality-gate.log - name: Upload release quality gate diagnostics if: always() uses: actions/upload-artifact@v4 with: name: release-quality-gate-diagnostics path: artifacts/