Skip to content

Revive the dead Stripe billing handlers, and settle the partner price #152

Revive the dead Stripe billing handlers, and settle the partner price

Revive the dead Stripe billing handlers, and settle the partner price #152

Workflow file for this run

name: Lighthouse CI
# Quality gate for the pages that earn search clicks.
#
# Accessibility, SEO and best-practices are HARD GATES — they score rendered
# markup deterministically, and SEO is a primary acquisition channel here.
# Performance stays a warning: it measured 0.67-0.84 across the same pages in
# a single sitting, and a check that fails at random is one people learn to
# ignore.
#
# Previously this job asserted everything as 'warn', appended '|| true', AND
# set continue-on-error — three independent guarantees that it could never
# fail, while still presenting as a check on the PR.
#
# Thresholds live in compliance-firewall-agent/.lighthouserc.json.
on:
pull_request:
branches: [main]
paths:
- "compliance-firewall-agent/**"
workflow_dispatch:
jobs:
lighthouse:
name: Lighthouse (marketing pages)
runs-on: ubuntu-latest
defaults:
run:
working-directory: compliance-firewall-agent
steps:
- uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: "20"
cache: "npm"
cache-dependency-path: compliance-firewall-agent/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
NEXT_PUBLIC_SUPABASE_URL: ${{ secrets.NEXT_PUBLIC_SUPABASE_URL }}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
- name: Start server
run: |
npm start &
npx wait-on http://localhost:3000 --timeout 60000
- name: Run Lighthouse
run: |
npx --yes @lhci/cli@0.14.x collect \
--url=http://localhost:3000/ \
--url=http://localhost:3000/pricing \
--url=http://localhost:3000/controls \
--url=http://localhost:3000/blog \
--numberOfRuns=1
npx --yes @lhci/cli@0.14.x assert
- name: Upload reports
uses: actions/upload-artifact@v7
with:
name: lighthouse-reports
path: compliance-firewall-agent/.lighthouseci
retention-days: 14