Skip to content

Commit

Permalink
chore: lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 22, 2024
1 parent 263b3d3 commit 9d3b2f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ if [[ -n "$1" ]]; then
fi
fi

if [[ "$(yarn --version)" =~ "^1" ]]; then
YARN_VERSION="$(yarn --version)"
if [[ "$YARN_VERSION" =~ "^1" ]]; then
echo "Warning: Detected Yarn Classic. This action officially supports Yarn v3 and newer. Older versions may break in future versions." >&2
npm_config__auth="$YARN_NPM_AUTH_TOKEN" yarn publish --tag "$PUBLISH_NPM_TAG"
else
Expand Down

0 comments on commit 9d3b2f5

Please sign in to comment.