Skip to content

Build & Deploy

Build & Deploy #1274

Workflow file for this run

name: Build & Deploy
on:
push:
schedule:
- cron: "0 20 * * *"
jobs:
lhci:
name: Lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Wait for Vercel Preview URL
uses: patrickedqvist/[email protected]
id: vercel_preview_url
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 900
check_interval: 20
- name: Run Lighthouse CI
run: |
yarn install --immutable
yarn build
yarn test:lighthouse --collect.url=${{ steps.vercel_preview_url.outputs.url }}/en --collect.numberOfRuns=3
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}