-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.lighthouserc.js
37 lines (36 loc) · 1.5 KB
/
.lighthouserc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
require('dotenv').config();
module.exports = {
ci: {
collect: {
// staticDistDir: "public",
preset: 'lighthouse:recommended',
startServerCommand: 'npm run serve',
url: [
'http://localhost:9000',
'http://localhost:9000/404.html',
'http://localhost:9000/product/index.html',
'http://localhost:9000/about/index.html',
'http://localhost:9000/contact-us/index.html',
'http://localhost:9000/pricing/index.html',
'http://localhost:9000/integrations/index.html',
'http://localhost:9000/source/postgres/index.html',
'http://localhost:9000/integrations/postgres-to-elasticsearch/index.html',
'http://localhost:9000/etl-tools/estuary-vs-fivetran/index.html',
'http://localhost:9000/blog/index.html',
'http://localhost:9000/chatgpt-for-sales/index.html',
'http://localhost:9000/success-stories/connectngo/index.html',
],
},
upload: {
target: 'lhci',
serverBaseUrl:
'https://lighthouse-ci-server-4hggwv2wra-uc.a.run.app',
token: process.env.LHCI_TOKEN,
githubAppToken: process.env.LHCI_GITHUB_APP_TOKEN,
basicAuth: {
username: process.env.LHCI_BASIC_AUTH_USERNAME,
password: process.env.LHCI_BASIC_AUTH_PASSWORD,
},
},
},
};