Skip to content

Harden auth, sync, and Supabase security #8

Harden auth, sync, and Supabase security

Harden auth, sync, and Supabase security #8

Workflow file for this run

name: Lighthouse CI
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: lighthouse-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lighthouse:
name: Lighthouse audit
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
cache: npm
- name: Install dependencies
run: npm ci
- name: Verify current file audit
run: |
npm run audit:generate
npm run audit:verify
git diff --exit-code -- audit/current
- name: Run Lighthouse CI
run: npm run lighthouse
- name: Upload Lighthouse reports
if: always()
uses: actions/upload-artifact@v7
with:
name: lighthouse-reports
path: |
artifacts/lighthouse
.lighthouseci
if-no-files-found: warn
retention-days: 14