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