Skip to content

Bash script to check current PR size vs Production Branch

Notifications You must be signed in to change notification settings

utroda/bash-size-limit-circle-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Bash Size Limit Report

This bash script leverages Size Limit package to check a pull request size change to master. This is helpful when developing component frameworks to see how your additions might be effecting initial loads.

It's hard for SaaS companies to leverage Github actions currently due to security concerns[1]. This script can be run in Circle CI without the use of a GHA.

[1] See: How We Discovered Vulnerabilities in CI/CD Pipelines of Popular Open-Source Projects.

This does require setting up a GITHUB_TOKEN within CircleCI.

Example config.yml

checkSizeLimit:
  requires
    - install 
  steps:
    - run:
        name: Check Size
        command: bin/checkSize

About

Bash script to check current PR size vs Production Branch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages