Skip to content

Check if version bumped

Actions
Checks if version is bumped in package.json in pull requests
v2.1.0
Latest
Star (4)

Check if package.json version is bumped

This action checks if package.json was bumped only in pull requests.

Inputs

token

Optional. Required for private repositories for retrieving package.json file from base sha

path

Optional. Specify where to obtain package.json file. Path is relative to git root. Do not start with / (slash). Defaults to package.json

Outputs

None

Releases and node versions

Release Node version
2.x Node 20
1.x Node 16

Example usage

- uses: del-systems/check-if-version-bumped@v2
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    path: "server/package.json"

Check if version bumped is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Checks if version is bumped in package.json in pull requests
v2.1.0
Latest

Check if version bumped is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.