ci: move npmrc to root

This commit is contained in:
Igor Randjelovic
2020-12-19 20:14:41 +01:00
parent 0d9350dc80
commit 51b383fe85

View File

@@ -34,7 +34,6 @@ jobs:
env: env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: | run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
cat .npmrc
echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..." echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..."
npm publish nativescript-core-$NPM_VERSION.tgz --tag $NPM_TAG npm publish nativescript-core-$NPM_VERSION.tgz --tag $NPM_TAG