/speedlify-actions-vercel

Monitor Lighthouse score with Speedlify + GitHub Actions + Vercel

Primary LanguageJavaScriptMIT LicenseMIT

Speedlify + GitHub Actions + Vercel

This repository demonstrates how you can configure GitHub Actions workflow to continuously measure your website Lighthouse score by using speedlify + GitHub actions for free. Then deploy the dashboard to Vercel.

This repository is based on the workflow in ThewApp/speedlify-actions.

For more information, please read ThewApp/speedlify-actions#README.

Usage

  1. Get this workflow by one of these:

    Do not fork as GitHub Actions will not run on a forked repository.

  2. Delete or skip the initial _data/sites/*.js files

  3. Create your own file with a list of your own site URLs

  4. Add the following secrets to your repository:

    • VERCEL_TOKEN: You vercel account token obtained from https://vercel.com/account/tokens
    • VERCEL_PROJECT: Content of the .vercel/project.json file generated by vc link command.
  5. Commit and push to your repository

Demo site only have data on default site and Static Site Generator.