nodejs / api-docs-tooling

Node.js's tooling for API generation
https://nodejs.org/api
MIT License
5 stars 5 forks source link

Introduce Release workflow #127

Closed AugustinMauroy closed 1 month ago

AugustinMauroy commented 1 month ago

We should add a workflow to publish npm registry. To allow our core friend to test in real condition the tools. And in the medium term, allow them to use it to built with "legacy" style.

To accomplish that, we need to create a GitHub workflow that call npm publish with provenance. The workflow should run the tests before tying to publish.

Here an example

[!NOTE] We will need a npm token. I assume generated by the TSC?

AugustinMauroy commented 1 month ago

No need. npm cli allow install with git ref and with semver.

https://docs.npmjs.com/cli/v9/commands/npm-install