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

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