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