Skip to content

Add Cloudflare analytics beacon #24

Add Cloudflare analytics beacon

Add Cloudflare analytics beacon #24

Workflow file for this run

name: Lighthouse CI
on:
push:
branches: [main]
paths:
- 'web/**'
- '.github/workflows/lighthouse.yaml'
pull_request:
paths:
- 'web/**'
- '.github/workflows/lighthouse.yaml'
workflow_dispatch:
permissions:
contents: read
jobs:
lighthouse:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build site
run: npm run build
env:
NODE_ENV: production
- name: Run Lighthouse CI
run: npx --yes @lhci/cli@0.14.x autorun