jreinhold/Page Speed Insights
Analyze your page with Page Speed Insights and get results as PR comments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL to analyze | yes | — |
| key | The optional API Key created at the Google Developer Console | no | — |
| strategy | Analyse on 'desktop', 'mobile' or 'both' (default) | no | both |
| runs | The number of times to analyse the site | no | 1 |
| comment | Comment the result if in a Pull Request. 'create' a new one each after run, 'update' (default) the same one, or 'false' to disable commenting | no | update |
| threshold | A threshold to pass for the action to succeed | no | false |
| compareUrl | Another site to analyse and compare against | no | — |
Outputs
| name | description |
|---|---|
| resultJSON | Raw result as a JSON string |
| resultMarkdown | Result presented in a markdown table |