GoogleChromeLabs / GoogleChromeLabs/size-plugin

Allow for overriding publishing conditions

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.