Created
June 13, 2021 22:12
-
-
Save planetoftheweb/d4cb6de9155a12507efcd57e04a396de to your computer and use it in GitHub Desktop.
Generate Lighthouse Report
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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