We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd880b9 commit 4b7e4e1Copy full SHA for 4b7e4e1
build-yarn/build.sh
@@ -86,8 +86,9 @@ set_build_env() {
86
fi
87
88
echo "::debug::Configuring JFrog and NPM repositories..."
89
- npm config set registry "$ARTIFACTORY_URL/api/npm/npm"
90
- npm config set "${ARTIFACTORY_URL//https:}/api/npm/:_authToken=$ARTIFACTORY_ACCESS_TOKEN"
+ yarn config set npmRegistryServer "${ARTIFACTORY_URL}/api/npm/npm"
+ yarn config set npmAlwaysAuth true
91
+ yarn config set npmAuthIdent ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_ACCESS_TOKEN}
92
jf config remove repox > /dev/null 2>&1 || true # Do not log if the repox config were not present
93
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
94
jf config use repox
0 commit comments