Skip to content

Add DO viewer to admin page, show total power and co2 on page load, a… #11

Add DO viewer to admin page, show total power and co2 on page load, a…

Add DO viewer to admin page, show total power and co2 on page load, a… #11

Workflow file for this run

name: Lighthouse CI
on:
push:
branches: [master]
schedule:
- cron: "0 12 * * 1"
workflow_dispatch:
jobs:
lighthouse:
name: Lighthouse (${{ matrix.preset }})
runs-on: ubuntu-latest
permissions:
contents: read
statuses: write
strategy:
fail-fast: false
matrix:
preset: [desktop, mobile]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
- run: npm install -g @lhci/cli@0.15.x
- run: lhci autorun ${{ matrix.preset == 'desktop' && '--collect.settings.preset=desktop' || '' }}
env:
LHCI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}