first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
"use strict";
const TEMPLATE_NAME = process.env.TEMPLATE_NAME;
const assertions = (() => {
try {
return require(`./tests/lighthouse/baselines/${TEMPLATE_NAME}`);
} catch (e) {
return {};
}
})();
module.exports = {
"ci": {
"collect": {
"method": "node",
"numberOfRuns": 3,
"maxWaitForLoad": 90000,
"headful": false,
"settings": {
"preset": "desktop"
},
},
"assert": {
// https://github.com/GoogleChrome/lighthouse-ci/blob/main/packages/utils/src/presets/recommended.js
// https://github.com/GoogleChrome/lighthouse-ci/blob/main/packages/utils/src/presets/no-pwa.js
"preset": "lighthouse:no-pwa",
assertions,
},
"upload": {
"target": "filesystem",
},
},
};