-
Notifications
You must be signed in to change notification settings - Fork 15
chore: Add publishing to GitHub package registry #158
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as publishing todoist-api-typescript
in our private npm registry solves my issue with Todoist-Outlook
not being able to find the package.
However, I don't have any context as to why the original change was made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know of any reasons why we shouldn't make this change?
Nope, fine by me 👍
@engfragui I know you were waiting for this before pushing v2.0.7 — let me know how it goes 🤞 |
@pawelgrimm I tried to publish a new
(source: https://github.com/Doist/todoist-api-typescript/actions/runs/3236069424/jobs/5301360782) I also confirm that I cannot find this new version of the package if I try to
(as expected, since the package wasn't actually published to the internal repo, based on the error above) However, I do see that it has been successfully published (as it has happened even before your change) here https://www.npmjs.com/package/@doist/todoist-api-typescript |
@engfragui It looks like only publishing to the GitHub registry failed, probably because I messed up the setup 😅 Fixed it here: #161 I'll manually publish v2.0.7 for now and I guess when we're ready for v2.0.8, we'll see if my fixed worked 🤞 |
@pawelgrimm I have a feeling a v2.0.8 will be coming soon anyway. 😅 Thank you for spending time on this, much appreciated. |
Overview
In this PR, we are updating the
publish
action to create a package in the (private) GitHub package registry in addition to the (public) npm package registry. This will allow us to consume the package in projects that use private @doist-scoped packages.The impetus for this change is that I couldn't upgrade the
@doist/todoist-api-typescript
package to > 2.0.0 in https://github.com/Doist/todoist-addtask-integrations/, since that project is set up to pull @Doist packages from the GitHub package registry. We cross-publish other public packages, like reactist, in both registries, so I think we should do the same here.@scottlovegrove @henningmu @engfragui Do you know of any reasons why we shouldn't make this change?