Skip to content

Only publish updated packages from CI #355

@shawnbot

Description

@shawnbot

Right now our CI builds take longer than they need to because we're defensively publishing new canary or release candidate versions of every module to npm. This caused some problems when we started maintaining multiple release branches (see #350) which I attempted to work around with commits: a11cdd0, 58f6a8f, 9156588, fe7aa58, f1aec75. But, assuming that problem is fixed, it's really just a bandaid because we could shave a lot of time and "effort" off the CI builds by only publishing new versions (and updating the corresponding package.json files) for modules that have been updated since the most recent release.

Some test cases:

  1. If we make a change to primer-utilities, only that module and the modules that depend on it (directly or indirectly) should be bumped.
  2. If we make a change to primer-support, all of the modules should be bumped because they rely on it either directly or indirectly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions