Skip to content

Commit

Permalink
fix(yarn-install): fix comparing yarn version
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Feb 20, 2023
1 parent c214539 commit d476103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
id: variables
shell: bash
run: |
version=$(yarn --version)
version=$(yarn --version | cut -d. -f1)
if [ "$version" -lt "2" ]; then
echo "args=--frozen-lockfile"
Expand Down

0 comments on commit d476103

Please sign in to comment.