Skip to content

GitHub Action is opting this project into semver-breaking changes to markdownlint-cli #18275

Closed

Description

@DavidAnson

Running a command like npm i -g markdownlint-cli always pulls the latest version of that package, including when it has a semver-breaking change:

npm i -g markdownlint-cli

Doing that from a continuous integration script makes it likely that breaking changes will show up as part of a completely different change to the project - whichever happens to run CI first after a new version is published. A more predictable pattern is to specify a particular version of the package to install.

Here's how Google addressed this issue in their code: GoogleCloudPlatform/solution-acceleration-toolkit#34

Activity

  1. self-assigned this
    on May 6, 2020
  2. added this to the May 2020 milestone on May 6, 2020
  3. IEvangelist commented on May 6, 2020

    @IEvangelist
    Member

    Thank you @DavidAnson, this was very helpful. We've addressed this issue in #18280

  4. DavidAnson commented on May 6, 2020

    @DavidAnson
    ContributorAuthor

    Wonderful, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions