message: Fix publish GitHub Actions workflow
diff: @@ -14,6 +14,8 @@ jobs:
  runs-on: ubuntu-latest
  steps:
  - uses: actions/checkout@v2
  + with:
  + token: ${{ secrets.GITHUB_TOKEN }}
  - uses: actions/setup-node@v1
  with:
  @@ -24,12 +26,19 @@ jobs:
  - run: yarn test
  - - uses: oleksiyrudenko/gha-git-credentials@v1
  - with:
  - token: '${{ secrets.GITHUB_TOKEN }}'
  + - name: Set Git credentials
  + run: |
  + git config --local user.email "actions@github.com"
  + git config --local user.name "GitHub Action"
  - run: yarn version --new-version ${{ github.event.inputs.version }} --no-commit-hooks
  + - name: Pushing changes
  + uses: ad-m/github-push-action@master
  + with:
  + github_token: ${{ secrets.GITHUB_TOKEN }}
  + branch: ${{ github.ref }}
  +
  - name: Publushing prerelase
  run: yarn publish --non-interactive --tag ${{ github.event.inputs.tag }}
  if: ${{ github.event.inputs.tag }}
  @@ -42,12 +51,6 @@ jobs:
  env:
  NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_TOKEN }}
  - - name: Pushing changes
  - uses: ad-m/github-push-action@master
  - with:
  - github_token: ${{ secrets.GITHUB_TOKEN }}
  - branch: ${{ github.ref }}
  -
  - name: Creating doc for stable release
  run: |
  yarn styleguide:build
  