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

ci: add a workflow to publish a generated client to NPM #3

Open
ilgooz opened this issue Jun 7, 2022 · 0 comments
Open

ci: add a workflow to publish a generated client to NPM #3

ilgooz opened this issue Jun 7, 2022 · 0 comments
Labels
CI Continuous Integration

Comments

@ilgooz
Copy link
Member

ilgooz commented Jun 7, 2022

In the Query Service we'll have proto definitions that describes the Mapper RPC.

We should enable grpc-web (through a Go gRPC handler) in the Query Service so we can support connections from a browser to the Mapper RPC.

We should setup a CI workflow that will do a TS client (code) generation from Mapper RPC proto files and publish to NPM as a package.

This workflow should run whenever we make new release in the repo.

  • It should first check if the proto files in the Query Service changed (git diff the dir by using an action)
  • If there is a change then trigger the process of generating a TS client and publishing it to the NPM registry with the same release version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

No branches or pull requests

3 participants