Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
72 lines (72 sloc)
2.8 KB
This file contains 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
{ | |
"id": "a7ea6fda-6f72-4e20-a1a7-4cd0bcbf7b61", | |
"name": "lighthouse-ci", | |
"friendlyName": "Lighthouse CI Extension", | |
"description": "Automate running Lighthouse for every commit, viewing the changes, and preventing regressions", | |
"helpMarkDown": "Automate running Lighthouse for every commit, viewing the changes, and preventing regressions. Read more about [LightHouse CI](https://github.com/GoogleChrome/lighthouse-ci)", | |
"category": "Azure Pipelines", | |
"author": "@Gurucharan94", | |
"version": { | |
"Major": 1, | |
"Minor": 0, | |
"Patch": 0 | |
}, | |
"instanceNameFormat": "Run LightHouse CI $(command)", | |
"inputs": [ | |
{ | |
"name": "command", | |
"type": "pickList", | |
"label": "Command", | |
"defaultValue": "healthcheck", | |
"required": false, | |
"helpMarkDown": "The lhci command to run", | |
"options": { | |
"healthcheck": "healthcheck", | |
"collect" : "collect", | |
"assert": "assert", | |
"upload": "upload", | |
"autorun": "autorun" | |
}, | |
"properties": { | |
"EditableOptions": "False" | |
} | |
}, | |
{ | |
"name": "targetArtifactPath", | |
"type": "filePath", | |
"label": "Artifact to infer Build Context", | |
"required": false, | |
"helpMarkDown": "In a release pipeline, point to the root folder of the artifact which can be used to infer [build context](https://github.com/GoogleChrome/lighthouse-ci/blob/master/docs/cli.md#build-context). If no value is specified, context is inferred from the primary artifact of the pipeline. <br/> <br/> In a build / YAML multi stage pipeline, the context is inferred automatically and this field is ignored.", | |
"properties": { | |
"EditableOptions": "True" | |
} | |
}, | |
{ | |
"name": "configFilePath", | |
"type": "filePath", | |
"label": "LHCI Configuration File", | |
"required": false, | |
"helpMarkDown": "The path to the lighthouse CI configuration file. Input to --config option of LHCI" | |
}, | |
{ | |
"name": "parameters", | |
"type": "multiLine", | |
"label": "Additional CLI Options", | |
"required": false, | |
"helpMarkDown": "CLI options for Lighthouse CI." | |
}, | |
{ | |
"name": "failOnStderr", | |
"type": "boolean", | |
"label": "Fail on Standard Error", | |
"defaultValue": "true", | |
"required": false, | |
"helpMarkDown": "If this is checked, this task will fail if any errors are written to the StandardError stream" | |
} | |
], | |
"execution": { | |
"Node": { | |
"target": "src/lighthouse-ci.js" | |
} | |
} | |
} |