From e302807ad59bb409829671a9bf68e0e7732ad9e2 Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Tue, 28 Jan 2020 02:24:50 +0000 Subject: [PATCH] npm config set --- .github/workflows/tagged.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tagged.yml b/.github/workflows/tagged.yml index a17bfbe..e38d1de 100644 --- a/.github/workflows/tagged.yml +++ b/.github/workflows/tagged.yml @@ -23,7 +23,9 @@ jobs: CI: true - name: Publish to npm - run: npm publish + run: | + npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}