{"repo":"EndBug/version-check","free":true,"listed":false,"github":"https://github.com/EndBug/version-check","clone":"git clone https://github.com/EndBug/version-check.git","description":":octocat: An action that allows you to check whether your npm package version has been updated","language":"TypeScript","stars":110,"topics":["actions","typescript","semver","package","npm","nodejs","version","workflow","collaborate","github"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Version check You can use this GitHub action to check whether your npm package version has been updated: this can be extremely helpful if you want to automate your release process. The main difference between this action and many others out there is that this doesn't do a specific task (it doesn't publish to registries, create tags or releases, send notifications, ...) but instead gives you an output that you can use in other steps of your workflow as you prefer: this way you don't have to deal with stuff you don't care about ;) This action is heavily inspired by npm-publish-action by pascal: if you only care about publishing your package to npm automatically, this is the simplest solution :thumbsup: Usage GitHub Workflow You have to set up a step like this in your workflow (this assumes you've already checked out your repo and set up Node): Now, when someone changes the version in package.json to 1.2.3 and pushes a commit with the message 1.2.3 (eg. Release 1.2.3 or Bump version to v1.2.3 ), output values are set (see Outputs below). Please note that even if the action is built to be easier as possible to use, it is still subject to GitHub API's limits. That means that pushes and PRs that have a lot of commits may not show 100% of the commits. It is not something to worry about though, since the action has always worked in most of the cases ;) Outputs - changed : either \"true\" or \"false\", indicates whether the version has changed. - type : if the version has changed, it trie","default_branch":null,"files":null,"tree":[],"storefront":"/r/EndBug","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EndBug/version-check/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."}