Skip to content

saulonunesdev/lerna-get-version-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lerna-get-version-action

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

Example

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

      - name: get-lerna-version
        id: lerna-version
        uses: saulonunesdev/lerna-get-version-action@v1.0.4

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

Based on: https://github.com/martinbeentjes/npm-get-version-action