feat(tools): add LightHouse CI to the GitHub workflows (#39353)

This commit is contained in:
Twaha Rahman
2020-08-06 14:44:53 +06:00
committed by GitHub
parent 1046e21a90
commit d10a584b9c
2 changed files with 43 additions and 0 deletions

17
lighthouserc.js Normal file
View File

@@ -0,0 +1,17 @@
/**
* @file - Conifiguration for LightHouse CI. Vist the link below
* for more details ->
* https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md
*/
module.exports = {
ci: {
collect: {
url: ['http://localhost:8000/'],
startServerCommand: 'npm run start'
},
upload: {
target: 'temporary-public-storage'
}
}
};