Remove yarn configuration from run.sh

pull/97/head
Muhammad Atif Ali 2 years ago
parent dc710ff579
commit 3228235622

@ -27,11 +27,6 @@ else
echo "📦 Configuring npm..." echo "📦 Configuring npm..."
jf npmc --global --repo-resolve "${REPOSITORY_NPM}" jf npmc --global --repo-resolve "${REPOSITORY_NPM}"
fi 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 <<EOF >~/.npmrc cat <<EOF >~/.npmrc
email = ${ARTIFACTORY_EMAIL} email = ${ARTIFACTORY_EMAIL}
registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM} registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM}

@ -27,11 +27,6 @@ else
echo "📦 Configuring npm..." echo "📦 Configuring npm..."
jf npmc --global --repo-resolve "${REPOSITORY_NPM}" jf npmc --global --repo-resolve "${REPOSITORY_NPM}"
fi 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 <<EOF >~/.npmrc cat <<EOF >~/.npmrc
email = ${ARTIFACTORY_EMAIL} email = ${ARTIFACTORY_EMAIL}
registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM} registry = ${JFROG_URL}/artifactory/api/npm/${REPOSITORY_NPM}

Loading…
Cancel
Save