mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
ci: add authToken to npmrc
This commit is contained in:
2
.github/workflows/npm_release.yml
vendored
2
.github/workflows/npm_release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user