2020-05-05 15:24:55 -03:00
2020-02-12 15:16:55 +01:00
2020-02-12 15:02:30 +01:00
2020-02-12 15:10:50 +01:00
2020-05-05 15:24:55 -03:00

npm-get-version-action

This GitHub Action retrieves the package version from the package.json file and sets the version in the current-version output value usable in your workflow file.

Example

To use this action in your project, use the following:

 - name: get-npm-version
   id: packageVersion
   uses: martinbeentjes/npm-get-version-action@master

The Action sets an output variable called current-version which can be used in a following step by using ${{ steps.packageVersion.outputs.current-version}}.

Description
This Action scans for a package.json file and reads the version number from that.
Readme MIT 124 KiB
Languages
Shell 66.1%
Dockerfile 33.9%