Skip to content

Commit

Permalink
Merge pull request #179 from Teradata/lighthouse-report-ci
Browse files Browse the repository at this point in the history
lighthouse-report-aut
  • Loading branch information
ObedVega authored Mar 8, 2024
2 parents dc31403 + aa63b7f commit a35a899
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,22 @@ jobs:
preview-branch: gh-pages
source-dir: build/site
umbrella-dir: pr-preview
- run: mkdir /tmp/artifacts
- name: Run Lighthouse Report
uses: foo-software/lighthouse-check-action@master
with:
outputDirectory: /tmp/artifacts
urls: 'https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }},https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }}/nos.html'
device: 'all'
- name: Upload Lighthouse artifacts
uses: actions/upload-artifact@master
with:
name: Lighthouse reports
path: /tmp/artifacts
- name: Leave Comment
uses: foo-software/lighthouse-check-action@master
with:
accessToken: ${{ secrets.GITHUB_TOKEN }}
outputDirectory: /tmp/artifacts
urls: 'https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }},https://quickstarts.teradata.com/pr-preview/pr-${{ github.event.pull_request.number }}/nos.html'
device: 'desktop'

0 comments on commit a35a899

Please sign in to comment.