Skip to content

Commit 51b383f

Browse files
committed
ci: move npmrc to root
1 parent 0d9350d commit 51b383f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/npm_release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
NPM_TAG: 'next'
9-
9+
1010
jobs:
1111
release:
1212
runs-on: ubuntu-latest
@@ -34,7 +34,6 @@ jobs:
3434
env:
3535
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
3636
run: |
37-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
38-
cat .npmrc
37+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
3938
echo "Publishing @nativescript/core@$NPM_VERSION to NPM with tag $NPM_TAG..."
4039
npm publish nativescript-core-$NPM_VERSION.tgz --tag $NPM_TAG

0 commit comments

Comments
 (0)