From 322823562249b308e2dce9219ecfdc604a46cf12 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 14 Nov 2023 03:56:55 +0300 Subject: [PATCH] Remove yarn configuration from run.sh --- jfrog-oauth/run.sh | 5 ----- jfrog-token/run.sh | 5 ----- 2 files changed, 10 deletions(-) diff --git a/jfrog-oauth/run.sh b/jfrog-oauth/run.sh index f9ed7fe..efba187 100644 --- a/jfrog-oauth/run.sh +++ b/jfrog-oauth/run.sh @@ -27,11 +27,6 @@ else echo "📦 Configuring npm..." jf npmc --global --repo-resolve "${REPOSITORY_NPM}" fi - # 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 yarnc --global --repo-resolve "${REPOSITORY_NPM}" - fi cat <~/.npmrc email = ${ARTIFACTORY_EMAIL} registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM} diff --git a/jfrog-token/run.sh b/jfrog-token/run.sh index f9ed7fe..efba187 100644 --- a/jfrog-token/run.sh +++ b/jfrog-token/run.sh @@ -27,11 +27,6 @@ else echo "📦 Configuring npm..." jf npmc --global --repo-resolve "${REPOSITORY_NPM}" fi - # 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 yarnc --global --repo-resolve "${REPOSITORY_NPM}" - fi cat <~/.npmrc email = ${ARTIFACTORY_EMAIL} registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM}