This plugin adds performance statistics of a website. It uses Google's PageSpeed API (same as web.dev), see performance scoring and score calculator for more informations about results. | |
Supported features → Full specification |
📗 Classic template 📘 Repository template 📙 Terminal template |
👤 Users 👥 Organizations 📓 Repositories |
|
🗝️ plugin_pagespeed_token |
|
Type | Description |
Enable pagespeed plugin |
|
type: boolean
default: no |
|
Audited website |
|
⏯️ Cannot be preset type: string
default: → User attached website |
|
Detailed results The following additional stats will be displayed:
|
|
type: boolean
default: no |
|
Display a website screenshot Significantly increase filesize |
|
type: boolean
default: no |
|
PageSpeed token Although not mandatory, it strongly advised to create one to avoid triggering the rate limiter. See PageSpeed documentation for more informations. |
|
🔐 Token type: token
|
name: Succint report
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
name: Detailed report
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.detailed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
name: Screenshot
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_screenshot: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io