From c57cd55eaf672f7dee361092786c3be65def81a9 Mon Sep 17 00:00:00 2001 From: rigor789 Date: Fri, 17 Jul 2020 22:23:57 +0200 Subject: [PATCH] ci: add npm token as env variable --- .github/workflows/npm_release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm_release.yml b/.github/workflows/npm_release.yml index 2f5640af0..fba437860 100644 --- a/.github/workflows/npm_release.yml +++ b/.github/workflows/npm_release.yml @@ -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...