Skip to content

apple-yagi/filesize-analysis

Repository files navigation

Filesize Analysis Github Action

Analyzes each PR's impact on your app's filesize and displays it using a comment. demo

Example usage

on:
  pull_request:

permissions:
  pull-requests: write # Required permission for commenting in PR

jobs:
  analysis:
    name: Analysis filesize
    runs-on: ubuntu-latest

    steps:
      - name: Analysis
        uses: apple-yagi/filesize-analysis@v1
        with:
          out_dir: "./dist" # Output directory for build
          ext: "bundle.js" # If specifying multiple extension, "bundle.js|chunk.js"
          github_token: ${{secrets.GITHUB_TOKEN}}

LICENSE

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published