Tools to analyze trends in HTTP Archive's Lighthouse data.
This is not an officially supported Google product.
yarn- Enable BigQuery and set up a Google Cloud service account
- Download a service account key
- set
GOOGLE_APPLICATION_CREDENTIALSto the key file's path for it to be used automatically
To be able to run the tests:
- create a
test_lh_extractdataset in your BigQuery project - make the service account from above at least a
BigQuery Job User - give the service account
BigQuery Data Editoraccess to just (or at least) thetest_lh_extractdataset - consider limiting the BigQuery quota to the test account, just in case, though this may require creating a separate Cloud project used only for testing.
Service accounts should be given the minimum permissions needed. For more about the service account roles, see the BigQuery predefined roles docs.