-
Notifications
You must be signed in to change notification settings - Fork 11
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
CI: Run ts-codegen on release #68
Comments
Happy for you to add that to CI. As it is pure npm / node.js code and I don't know github actions well You can make a PR adding another step after build-schemas in the release workflow |
Let me refine my question. Can you provide me an example of any other project that does this? (Build and publish the ts-codegen bindings) I thought a bit more and this is rather complex. I have always just downloaded wasm files and schema and build the new bindings in my client side libs. (I mean, a simple shell script that takes a version arg to download can do this pretty easy). To really make this seamless, we would need to publish the actual wasm contracts (or |
Note: I don't even see any auto-upload (of wasm or json schema) on dao-dao's CI. I consider this a more advanced project and we will try to cover what they can do. Would be cool if they add this functionality and we can port to mesh-security |
@ethanfrey I can set this up -- we can use CircleCI to do this. CircleCI will build contracts into wasm files and when a new release is created, then run codegen & publish the npm package. |
Would be great if we could publish a @mesh-security/types NPM package on every release.
The text was updated successfully, but these errors were encountered: