size-plugin icon indicating copy to clipboard operation
size-plugin copied to clipboard

Allow for overriding publishing conditions

Open avaly opened this issue 3 years ago • 0 comments

The conditions used now for publishing sizes are tightly coupled to env-ci and the master branch.

See: https://github.com/GoogleChromeLabs/size-plugin/blob/master/src/publish-size.js#L21

It would be nice to support a custom logic there for repositories which use CI that are not recognized by env-ci (e.g. Jenkins) or use a different branch name than master (e.g. main / develop).

avaly avatar Jun 17 '21 17:06 avaly