Skip to content

Lighthouse CI

Lighthouse CI #28

Workflow file for this run

name: Lighthouse CI
on:
pull_request:
branches:
- main # Adjust this as needed
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC. Adjust as necessary for your schedule.
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Lighthouse CI
run: npm install -g @lhci/cli
- name: Run Lighthouse CI
run: lhci autorun --config=./lighthouserc.json
env:
LHCI_GITHUB_TOKEN: ${{ secrets.LHCI_GITHUB_TOKEN }}