Skip to content

Commit

Permalink
fix: throw when a runtime error occurs (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhenson committed Jul 14, 2022
1 parent 3b82fe3 commit d7d5e66
Show file tree
Hide file tree
Showing 10 changed files with 9,160 additions and 854 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/extraHeaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
steps:
- uses: actions/checkout@master
- run: mkdir -p ${{ github.workspace }}/tmp/artifacts
- uses: amondnet/now-deployment@master
id: now
- uses: amondnet/vercel-action@master
id: vercelAction
with:
github-comment: false
zeit-token: ${{ secrets.ZEIT_NOW_TOKEN }}
now-org-id: ${{ secrets.ZEIT_NOW_ORG_ID }}
now-project-id: ${{ secrets.ZEIT_NOW_PROJECT_ID }}
vercel-token: ${{ secrets.ZEIT_NOW_TOKEN }}
vercel-org-id: ${{ secrets.ZEIT_NOW_ORG_ID }}
vercel-project-id: ${{ secrets.ZEIT_NOW_PROJECT_ID }}
- name: Run Lighthouse
uses: ./
with:
extraHeaders: '{ "x-test-1": "hello world", "x-test-2": "foo" }'
fooApiToken: ${{ secrets.LIGHTHOUSE_CHECK_API_TOKEN }}
outputDirectory: ${{ github.workspace }}/tmp/artifacts
urlsJson: '[["cf8b27b3-ccb8-4477-83b6-ded2c375f977", "${{ steps.now.outputs.preview-url }}"]]'
urlsJson: '[["cf8b27b3-ccb8-4477-83b6-ded2c375f977", "${{ steps.vercelAction.outputs.preview-url }}"]]'
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
Expand Down

2 comments on commit d7d5e66

@vercel
Copy link

@vercel vercel bot commented on d7d5e66 Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamhenson
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://www.foo.software

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Please sign in to comment.