From bbc0fca98585049b28a61767ce6fafca2160cc60 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Mar 2020 22:36:31 +0400 Subject: fix(actions): Update auth action Signed-off-by: Valentin Popov --- .github/workflows/publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2eb82a2..a588b42 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,5 @@ jobs: node-version: '13.x' - run: yarn install - run: yarn run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc + - run: npm publish -- cgit v1.2.3