Skip to content

Commit

Permalink
fix: run yarn to prep env
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Jul 21, 2021
1 parent 5531a83 commit 94a0740
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ runs:
env:
INPUT_VERSION: ${{ inputs.version }}
- run: |
if [ ! -z $INPUT_VERSION ]
then
yarn version --new-version $INPUT_VERSION --no-git-tag-version
fi
if [ -f package.json ]
then
yarn
if [ ! -z $INPUT_VERSION ]
then
yarn version --new-version $INPUT_VERSION --no-git-tag-version
fi
yarn run build
fi
shell: bash
Expand Down

0 comments on commit 94a0740

Please sign in to comment.