Skip to content

run Lighthouse CI 🚀 #398

run Lighthouse CI 🚀

run Lighthouse CI 🚀 #398

Workflow file for this run

name: Lighthouse CI
run-name: run Lighthouse CI 🚀
on:
workflow_dispatch:
schedule:
- cron: "55 23 * * *"
jobs:
lighthouseci:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v11
with:
serverBaseUrl: ${{ secrets.LHCI_SERVER_URL }}
serverToken: ${{ secrets.LHCI_SERVER_TOKEN }}
urls: |
"https://frontends-demo.vercel.app/"
"https://frontends-demo.vercel.app/Products/"
"https://frontends-demo.vercel.app/Summer-BBQ/"
configPath: "./lighthouserc.js"