abfedena
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
18 additions and
14 deletions
-
.github/workflows/lighthouse.yml
|
|
@ -1,17 +1,21 @@ |
|
|
name: Lighthouse Check |
|
|
name: Lighthouse Check |
|
|
on: [pull_request] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on: |
|
|
|
|
|
deployment_status: |
|
|
|
|
|
branches: |
|
|
|
|
|
- '*' |
|
|
jobs: |
|
|
jobs: |
|
|
lighthouse-check: |
|
|
lighthouse-check: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
if: github.event.deployment_status.state == 'success' |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@master |
|
|
- uses: actions/checkout@master |
|
|
- run: mkdir /tmp/artifacts |
|
|
- run: mkdir /tmp/artifacts |
|
|
- name: Run Lighthouse |
|
|
- name: Run Lighthouse |
|
|
uses: foo-software/lighthouse-check-action@master |
|
|
uses: foo-software/lighthouse-check-action@master |
|
|
with: |
|
|
with: |
|
|
|
|
|
accessToken: ${{ secrets.LIGHTHOUSE_CHECK_GITHUB_ACCESS_TOKEN }} |
|
|
outputDirectory: /tmp/artifacts |
|
|
outputDirectory: /tmp/artifacts |
|
|
urls: 'https://www.foo.software,https://www.foo.software/contact' |
|
|
|
|
|
|
|
|
urls: '${{ github.event.deployment_status.target_url }}' |
|
|
- name: Upload artifacts |
|
|
- name: Upload artifacts |
|
|
uses: actions/upload-artifact@master |
|
|
uses: actions/upload-artifact@master |
|
|
with: |
|
|
with: |
|
|
|