Skip to content

Instantly share code, notes, and snippets.

@Talhafayyaz11
Created September 17, 2021 09:56
Show Gist options
  • Save Talhafayyaz11/e0496a4618ed7d762be8c294c3eb81b9 to your computer and use it in GitHub Desktop.
Save Talhafayyaz11/e0496a4618ed7d762be8c294c3eb81b9 to your computer and use it in GitHub Desktop.
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:
accessToken: ''
awsAccessKeyId: ''
awsSecretAccessKey: ''
awsBucket: ''
awsRegion: ''
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