{"repo":"JS-DevTools/npm-publish","free":true,"listed":false,"github":"https://github.com/JS-DevTools/npm-publish","clone":"git clone https://github.com/JS-DevTools/npm-publish.git","description":"GitHub Action to publish to NPM","language":"TypeScript","stars":668,"topics":["github-action","npm","npm-publish","version-checker","version-bump","nodejs","javascript","typescript"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Fast, easy publishing to NPM Publish packages to npm automatically in GitHub Actions whenever a change to your package's version field is detected. - [Change log][releases] - v3 to v4 migration guide - v2 to v4 migration guide - v1 to v4 migration guide [releases]: https://github.com/JS-DevTools/npm-publish/releases ⚠️ You probably don't need this! This action automates a specific kind of continuous deployment to npm , where you want to publish whenever the version field in package.json changes on your main branch. If you prefer to publish on tags (for example, those created by the npm version command), or are using an alternative package manager like pnpm , you don't need this action! Simply configure setup-node with its registry-url option and call your package manager's publish command directly. This is more secure than relying on a third-party action like this one, and is more customizable. See GitHub's [Node.js publishing][] guide and npm's [trusted publishing][] docs for more details and examples. [Node.js publishing]: https://docs.github.com/en/actions/tutorials/publish-packages/publish-nodejs-packages [trusted publishing]: https://docs.npmjs.com/trusted-publishers#supported-cicd-providers Features - 🧠 Smart Only publishes if the version number in package.json differs from the latest on npm. - 🛠 Configurable Customize the version-checking behavior, the registry URL, and path of your package. - 🔐 Secure Keeps your npm authentication token secret. Doesn't read nor wri","default_branch":null,"files":null,"tree":[],"storefront":"/r/JS-DevTools","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JS-DevTools/npm-publish/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}