Skip to content

A GitHub action that utilizes Google's Page Speed Insights to generate a performance report

Notifications You must be signed in to change notification settings

JakePartusch/psi-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

35 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Page Speed Insights โ€” A GitHub Action ๐ŸŽ

This action utilizes Google's Page Speed Insights to generate a report on your website's performance

Example command line output

Inputs

url

Required The name of the site to reach https://google.com

key

Optional - API key (recommended for production) to use when consuming the Page Speed Insights API. This should be stored as a Github Secret. You can request a key here

strategy

Optional โ€” Strategy to use when analyzing the page (mobile/desktop).

threshold

Optional โ€” Score to pass the PageSpeed test. Useful for setting a performance budget (default 70).

Example usage

Basic Usage

steps:
  - name: Running Page Speed Insights
    uses: jakepartusch/psi-action@v1.3
    id: psi
    with:
      url: "https://jake.partus.ch"
      threshold: 70
      strategy: mobile
      key: ${{ secrets.APIKEY }}

About

A GitHub action that utilizes Google's Page Speed Insights to generate a performance report

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •