Skip to content

derniercri/lighthouse-ci-result-transformer

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

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighthouse CI Result Transformer

Motivation

Having a simple GitHub Action that would handle the output of the Lighthouse CI Action.

Current features

  • Post to Slack

Usage

jobs:
  yourjob:
    steps:
      - name: Audit URLs using Lighthouse
        id: audit
        uses: treosh/lighthouse-ci-action@v10
        with:
          urls: |
            https://example.com

      - name: Handle the audit output
        uses: derniercri/lighthouse-ci-result-transformer@latest
        with:
          resultsPath: ${{steps.audit.outputs.resultsPath}}
          slackWebhookUrl: ${{ github.secrets.SLACK_WEBHOOK_URL }} # Optional

Publishing a new version

# Build, commit your changes and create a tag
$ yarn distribute

# Push to GitHub
$ git push origin --tags

You will need to create a release to publish the action to the GitHub Marketplace