diff --git a/jfrog-oauth/run.sh b/jfrog-oauth/run.sh index bc584ee..f9ed7fe 100644 --- a/jfrog-oauth/run.sh +++ b/jfrog-oauth/run.sh @@ -30,7 +30,7 @@ else # check if yarn is installed and configure it to use the Artifactory "npm" repository. if command -v yarn >/dev/null 2>&1; then echo "📦 Configuring yarn..." - jf yarn --global --repo-resolve "${REPOSITORY_NPM}" + jf yarnc --global --repo-resolve "${REPOSITORY_NPM}" fi cat <~/.npmrc email = ${ARTIFACTORY_EMAIL} diff --git a/jfrog-token/run.sh b/jfrog-token/run.sh index bc584ee..f9ed7fe 100644 --- a/jfrog-token/run.sh +++ b/jfrog-token/run.sh @@ -30,7 +30,7 @@ else # check if yarn is installed and configure it to use the Artifactory "npm" repository. if command -v yarn >/dev/null 2>&1; then echo "📦 Configuring yarn..." - jf yarn --global --repo-resolve "${REPOSITORY_NPM}" + jf yarnc --global --repo-resolve "${REPOSITORY_NPM}" fi cat <~/.npmrc email = ${ARTIFACTORY_EMAIL}