Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix npm publishes not happening #4892

Merged
merged 1 commit into from
Sep 10, 2022
Merged

Conversation

tjenkinson
Copy link
Member

This PR will...

Make check-already-published hit api directly.

Why is this Pull Request needed?

Because npm/cli#2740 broke the npm --json flag meaning the json output is mixed with standard text output (😱). Hopefully the api itself will be stable. With this current bug no npm publishes are happening given the check says they are already there.

We should skip the publish stage if the package is already published so that the rest of the pipeline can run and go green if the pipeline needs to be retried after a publish already succeeded.

Alternative to #4890

@tjenkinson tjenkinson added the CI label Sep 10, 2022
@tjenkinson tjenkinson changed the title make check-already-published hit api directly fix npm publishes not happening Sep 10, 2022
@tjenkinson tjenkinson merged commit 570f1aa into master Sep 10, 2022
@tjenkinson tjenkinson deleted the use-registry-api-to-check-exist branch September 10, 2022 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants