From b3ab99a86e50a1ecbe76f99ea813cf659e6a3b34 Mon Sep 17 00:00:00 2001 From: Spartak Date: Sun, 17 May 2020 23:34:15 +0300 Subject: [PATCH] another try --- .github/workflows/npmpublish.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 21901ac..049d73d 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -28,7 +28,13 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: npm version ${GITHUB_REF#"refs/tags/"} - - run: npm publish + - name: Setup GIT + run: | + git config --global user.email "iam@spartak.io" + git config --global user.name "Spartak" + - name: Set version ${GITHUB_REF#"refs/tags/"} + run: npm version ${GITHUB_REF#"refs/tags/"} + - name: Publish + run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file