-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
1,227 additions
and
196 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
.github/workflows/LHCI-assert-netlify-on-budget-notification.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: LHCI-assert-netlify-on-budget-notification | ||
on: pull_request | ||
jobs: | ||
# This pass/fails a build with a budgets.json. | ||
assert-on-budget: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run Lighthouse on Netlify urls and validate with budgets.json | ||
uses: ./ | ||
with: | ||
urls: | | ||
https://practical-allen-be16f3.netlify.com | ||
https://practical-allen-be16f3.netlify.com/products/ | ||
https://practical-allen-be16f3.netlify.com/contact/ | ||
netlifySite: 'practical-allen-be16f3.netlify.com' | ||
budgetPath: '.github/lighthouse/budget.json' | ||
slackWebhookUrl: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
applicationGithubToken: ${{ secrets.GITHUB_TOKEN }} | ||
personalGithubToken: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
logLevel: 'error' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.