Skip to content

Run Lighthouse CI for desktop and mobile #32

Run Lighthouse CI for desktop and mobile

Run Lighthouse CI for desktop and mobile #32

Workflow file for this run

name: Run Lighthouse CI for desktop and mobile
on:
schedule:
- cron: '0 3 * * *'
jobs:
lhci:
name: Lighthouse CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli
lhci autorun --collect.settings.preset=desktop || echo "LHCI Desktop failed!"
lhci autorun || echo "LHCI Mobile failed!"