GitHub Action for ensuring package.json version has been incremented when compared to the base commit for the pull request.
Required The GitHub Secret Token to use for fetching package.json
.
Required The path to package.json. Default 'package.json'
.
True if the version in package.json has been incremented and false otherwise.
uses: Q4Justice/package-version-check@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
package-file: './SomeDirectory/package.json'