Skip to content

Instantly share code, notes, and snippets.

@planetoftheweb
Created June 13, 2021 22:12
Show Gist options
  • Save planetoftheweb/d4cb6de9155a12507efcd57e04a396de to your computer and use it in GitHub Desktop.
Save planetoftheweb/d4cb6de9155a12507efcd57e04a396de to your computer and use it in GitHub Desktop.
Generate Lighthouse Report
name: Generate Lighthouse Report
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Get Report
run: |
npm install -g lighthouse
lighthouse https://raybo.org/parallax/ --chrome-flags="--headless" --output="json" --output-path="./report.json"
cat ./report.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment