Created
November 9, 2019 19:07
-
-
Save adamhenson/90ecc651b2eec1032f074be80f3dc022 to your computer and use it in GitHub Desktop.
Basic example GitHub Action workflow using Lighthouse Check Action
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: Lighthouse Check | |
on: [pull_request] | |
jobs: | |
lighthouse-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- run: mkdir /tmp/artifacts | |
- name: Run Lighthouse | |
uses: foo-software/lighthouse-check-action@master | |
with: | |
outputDirectory: /tmp/artifacts | |
urls: 'https://www.foo.software,https://www.foo.software/contact' | |
- name: Upload artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: Lighthouse reports | |
path: /tmp/artifacts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment