GoogleChromeLabs / GoogleChromeLabs/size-plugin
Allow for overriding publishing conditions
Open
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
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`).
Contributor guide
Assessment
This issue has not been assessed yet.