Skip to content

Commit

Permalink
add condition to add temp package.json and yarn.lock only if non zero…
Browse files Browse the repository at this point in the history
… cli-version
  • Loading branch information
Anmol1696 committed Jun 13, 2024
1 parent dae792c commit b847d1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ runs:
steps:

- name: Create yarn.lock and package.json file if not exists
if: inputs.cli-version != '0.0.0' # Skip if cli-version is 0.0.0, expected to be used for local testing
run: |
if [ ! -f $GITHUB_WORKSPACE/yarn.lock ]; then
echo 'Creating temporary yarn.lock file'
Expand Down

0 comments on commit b847d1e

Please sign in to comment.