cohere-ai / cohere-typescript

The Cohere TypeScript SDK
https://docs.cohere.ai
MIT License
127 stars 18 forks source link

Add CI for publishing package to npm #46

Closed mkozakov closed 2 years ago

mkozakov commented 2 years ago

Add a CI workflow for posting packages to NPM.

kravse commented 2 years ago

Since we auto publish now when main changes, I wonder if we should block pushing directly to main with something like:

git config branch.main.pushRemote no_push

Hmm maybe I'm wrong. https://stackoverflow.com/a/54239368

mkozakov commented 2 years ago

@kravse we have main branch protection on github level