diff --git a/.github/workflows/publish-hzn-cli.yml b/.github/workflows/publish-hzn-cli.yml index c4629ec..f8e9cb7 100644 --- a/.github/workflows/publish-hzn-cli.yml +++ b/.github/workflows/publish-hzn-cli.yml @@ -14,6 +14,7 @@ jobs: node-version: 14 registry-url: https://registry.npmjs.org/ scope: ${{ github.repository_owner }} + - run: echo "::set-env name=NPM_REGISTRY_URL::$(node -p "require('./package.json').publishConfig.registry")" - run: npm install - run: npm publish --access public env: