/psi-action

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

Primary LanguageJavaScript

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

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
    id: psi
    with:
      url: "https://jake.partus.ch"
      threshold: 70
      strategy: mobile