diff --git a/.github/workflows/binary-specific-release.yml b/.github/workflows/binary-specific-release.yml index ba2d05ab2e..7f41b107d7 100644 --- a/.github/workflows/binary-specific-release.yml +++ b/.github/workflows/binary-specific-release.yml @@ -44,7 +44,7 @@ jobs: run: | cd onboarding-enabler-nodejs echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - sed -i -e 's|registry=https://zowe.jfrog.io/artifactory/api/npm/npm-org.*|registry=https://registry.npmjs.org/|' ~/.npmrc + echo "registry=$DIST_REGISTRY" >> ~/.npmrc npm version ${{ github.event.inputs.release_version }} --allow-same-version npm publish --access public git add package.json diff --git a/onboarding-enabler-nodejs/.npmrc b/onboarding-enabler-nodejs/.npmrc index 59c413d08e..521a9f7c07 100644 --- a/onboarding-enabler-nodejs/.npmrc +++ b/onboarding-enabler-nodejs/.npmrc @@ -1,2 +1 @@ legacy-peer-deps=true -registry=https://zowe.jfrog.io/artifactory/api/npm/npm-org