From c0c8cd88e32cde43e1034735e0beac70331f844e Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 7 Feb 2021 10:32:58 +0100 Subject: [PATCH] npm token --- .github/workflows/build-npm.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-npm.yaml b/.github/workflows/build-npm.yaml index 34d021aa..dba1aac8 100644 --- a/.github/workflows/build-npm.yaml +++ b/.github/workflows/build-npm.yaml @@ -1,4 +1,4 @@ -name: Docker image +name: NPM packages # on: [push] @@ -41,6 +41,10 @@ jobs: - name: setCurrentVersion run: | yarn setCurrentVersion + - name: Publish types working-directory: packages/types - run: npm publish + run: | + npm publish + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}