ci: add npm token as env variable

This commit is contained in:
rigor789
2020-07-17 22:23:57 +02:00
parent 340371d31c
commit c57cd55eaf

View File

@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- name: Setup
run: npm run setup
run: npm ci
- name: Generate Version
working-directory: packages/core
@@ -26,6 +26,8 @@ jobs:
run: npx nx run core:build.npm
- name: Publish @nativescript/core
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: |
echo dist/nativescript-core-$NPM_VERSION.tgz
echo Publishing to NPM...