-
Notifications
You must be signed in to change notification settings - Fork 61
feat: add lighthouse-ci integration #2227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
taylrj
wants to merge
9
commits into
twreporter:master
Choose a base branch
from
taylrj:feat/lighthouse-ci
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9c62e8b
feat: add lighthouse-ci integration
taylrj 9143db5
refactor: update .gitignore to ignore lighthouse ci files
taylrj 4ba95cd
refactor: update lighthouserc.js to add `numberOfRuns`
taylrj b3fd398
refactor: update mock data
taylrj 150a7d8
refactor: add article page as the target in lighthouse measurement
taylrj 791405c
refactor: update circleci config to install latest lhci package
taylrj 7341d5f
feat: add lighthouse ci server
taylrj a507ae0
refactor: move lighthouseci to an independent job
taylrj 11702e6
chore: add 'category_set' in mock data
taylrj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
| module.exports = { | ||
| ci: { | ||
| collect: { | ||
| numberOfRuns: 5, | ||
| url: [ | ||
| 'http://localhost:3000/', | ||
| 'http://localhost:3000/a/russian-invasion-of-ukraine-2022-kid-frequently-asked-questions', | ||
| ], | ||
| startServerCommand: 'make dev', | ||
| }, | ||
| upload: { | ||
| target: 'lhci', | ||
| serverBaseUrl: process.env.LHCI_SERVER_BASE_URL, | ||
| token: process.env.LHCI_TOKEN, | ||
| basicAuth: { | ||
| username: process.env.LHCI_USERNAME, | ||
| password: process.env.LHCI_PASSWORD, | ||
| }, | ||
| }, | ||
| }, | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.