diff --git a/.github/workflows/npm_release.yml b/.github/workflows/npm_release.yml index a32f21107..9999f3b3f 100644 --- a/.github/workflows/npm_release.yml +++ b/.github/workflows/npm_release.yml @@ -29,5 +29,7 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} run: | + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc echo dist/nativescript-core-$NPM_VERSION.tgz echo Publishing to NPM... + npm publish dist/nativescript-core-$NPM_VERSION.tgz --tag ci --dry-run