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

[FEATURE] Publish npm packages to npmjs.com #1015

Open
4 tasks
prasadtalasila opened this issue Oct 28, 2024 · 1 comment
Open
4 tasks

[FEATURE] Publish npm packages to npmjs.com #1015

prasadtalasila opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request libms lib microservice

Comments

@prasadtalasila
Copy link
Contributor

Describe the feature

As a developer, I want to publish npm packages to both github npm package registry and npmjs.com so that the manual publishing steps are avoided.

The present github workflows of libms and runner have integrated npm package publishing step. How ever, the npm package is only published to github npm package registry.

The improvement required is:

Parameterized npm publishing step separated into an independent job. An example template is in docker workflow. Ideally one workflow file publishes to both npmjs.com and github npm package registry.

Describe the problems your feature request solves

The npm package publishing to npmjs.com is manual step. This step is being done once per each release. It would be ideal to publish all versions of npm packages to

Describe the solution you'd like

One separate workflow file that would publish to both github npm registry and npmjs.com. This workflow file must have parameterization of package name. Just using package name avoids the need to have github environment variables.

However, a token is required to publish a package to npmjs.com. This token shall be part of github environment variables.

Success Criterion

Checklist:

  • new workflow file that both lib-ms.yml and runner.yml can reuse
  • libms and runner packages published to npmjs.com
  • Update documentation
  • No codeclimate issues
@prasadtalasila prasadtalasila added the enhancement New feature or request label Oct 28, 2024
@prasadtalasila prasadtalasila added this to the Release v0.7.0 milestone Oct 28, 2024
@prasadtalasila
Copy link
Contributor Author

The libms work has been completed in PR #1024. The task for runner is still pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request libms lib microservice
Projects
Status: Ready
Development

No branches or pull requests

2 participants