chris48s / v8r

✔️ A command-line JSON, YAML and TOML validator that's on your wavelength
https://chris48s.github.io/v8r/
MIT License
28 stars 5 forks source link

Publish releases from CI #480

Open chris48s opened 1 month ago

chris48s commented 1 month ago

At the moment, I publish releases by running npm publish locally.

With my python libraries, I have a workflow that runs when I push a tag which builds the package and then uses the trusted publisher workflow to push it to PyPI using a time-limited token.

What is the best practice for doing this in NPM land these days? Can you do trusted publisher? Do you have to store an API token in GH secrets?