Skip to content

Instantly share code, notes, and snippets.

@adamhenson
Created November 9, 2019 19:07
Show Gist options
  • Select an option

  • Save adamhenson/90ecc651b2eec1032f074be80f3dc022 to your computer and use it in GitHub Desktop.

Select an option

Save adamhenson/90ecc651b2eec1032f074be80f3dc022 to your computer and use it in GitHub Desktop.

Revisions

  1. adamhenson created this gist Nov 9, 2019.
    19 changes: 19 additions & 0 deletions my-workflow.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    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