Browse Source

Update lighthouse.yml

pull/9/head
abfedena 4 years ago
committed by GitHub
parent
commit
fdf1251478
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/lighthouse.yml

10
.github/workflows/lighthouse.yml

@ -1,21 +1,17 @@
name: Lighthouse Check
on:
deployment_status:
branches:
- '*'
on: [pull_request]
jobs:
lighthouse-check:
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@master
- run: mkdir /tmp/artifacts
- name: Run Lighthouse
uses: foo-software/lighthouse-check-action@master
with:
accessToken: ${{ secrets.LIGHTHOUSE_CHECK_GITHUB_ACCESS_TOKEN }}
outputDirectory: /tmp/artifacts
urls: '${{ github.event.deployment_status.target_url }}'
urls: 'https://www.foo.software,https://www.foo.software/contact'
- name: Upload artifacts
uses: actions/upload-artifact@master
with:

Loading…
Cancel
Save