Skip to content

Add publish_npm_packages.sh script#630

Merged
ukorvl merged 1 commit intomainfrom
fix-publish-npm-script
Mar 26, 2025
Merged

Add publish_npm_packages.sh script#630
ukorvl merged 1 commit intomainfrom
fix-publish-npm-script

Conversation

@ukorvl
Copy link
Copy Markdown
Contributor

@ukorvl ukorvl commented Mar 21, 2025

This diff fixes Publish npm packages workflow by adding publish_npm_packages.sh script.

Simply put, the problem that is default npm publish command throws an error if the package is already published. It makes workflow run look incorrect, even if it runs as expected. We don't want to publish always all packages. If it is already published - we just want to ingore it, that's why simple bash wrapper is needed.

All of this were successful runs, which exited with error because of npm. It can make a developer confused.

image

@ukorvl ukorvl added this pull request to the merge queue Mar 26, 2025
Merged via the queue into main with commit d034a30 Mar 26, 2025
14 checks passed
@ukorvl ukorvl deleted the fix-publish-npm-script branch March 26, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants