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

publish oxbuild to NPM #17

Closed
DonIsaac opened this issue Sep 18, 2024 · 7 comments
Closed

publish oxbuild to NPM #17

DonIsaac opened this issue Sep 18, 2024 · 7 comments
Labels
ci Changes to CI/CD setup

Comments

@DonIsaac
Copy link
Owner

No description provided.

@DonIsaac DonIsaac added the ci Changes to CI/CD setup label Sep 18, 2024
@ashleygwilliams
Copy link
Contributor

https://opensource.axo.dev/cargo-dist/book/installers/npm.html to finish out #20 you'll just need to follow these instructions :)

@DonIsaac
Copy link
Owner Author

@ashleygwilliams thanks a ton! Can it handle cargo releases as well?

@ashleygwilliams
Copy link
Contributor

hey! so it can, but we have not built it in yet as we want to make sure we can handle the "publish cascade" for linked monorepos appropriately. you can use a custom publish job tho- which you could steal wholesale from how cargo-dist does it for itself here: https://github.com/axodotdev/cargo-dist/blob/main/.github/workflows/publish-crates.yml

(i am happy to make a PR for this if you are interested!)

@DonIsaac
Copy link
Owner Author

I'm interested in any and all help! Theres a lot to do haha

@ashleygwilliams
Copy link
Contributor

totally understood, i'll make a PR some time today with the npm and crates.io publishing - i'll leave some instructions for the secrets set up you'll need to do :)

@DonIsaac
Copy link
Owner Author

I've got the secrets set up - CRATES_TOKEN and NPM_TOKEN respectively. I've got a draft for crates.io releases here: #26 mind giving it a review?

Also, thanks for all your help!

@ashleygwilliams
Copy link
Contributor

looking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes to CI/CD setup
Projects
None yet
Development

No branches or pull requests

2 participants