Skip to content

Commit

Permalink
Use circleci redirector 0.2.0, check with lighthouse 2.0.0, upload v2 (
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Jun 23, 2020
1 parent b4a670f commit 64fde80
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,20 @@ jobs:
runs-on: ubuntu-latest
name: Run CircleCI artifacts redirector
steps:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
- name: Create URL for CircleCI artifact
id: redirect
uses: larsoner/circleci-artifacts-redirector-action@0.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/html/index.html
- name: Run Lighthouse on Site
id: lighthouse
uses: foo-software/lighthouse-check-action@v2.0.0
with:
urls: ${{ steps.redirect.outputs.url }}
outputDirectory: /tmp/lighthouse
- name: Upload Lighthouse Reports
uses: actions/upload-artifact@v2
with:
name: Lighthouse Report ${{ github.run_number }}
path: /tmp/lighthouse

0 comments on commit 64fde80

Please sign in to comment.