message: ci: simplify publish
diff: @@ -8,20 +8,20 @@ on:
  jobs:
  publish:
  - name: Make a release and publish to NPM
  -
  runs-on: ubuntu-latest
  if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
  + name: Make a release and publish to NPM
  steps:
  - uses: actions/checkout@v3
  + with:
  + fetch-depth: 0
  - uses: actions/setup-node@v3
  with:
  - registry-url: "https://registry.npmjs.org"
  -
  - - name: Prepare repository
  - run: git fetch --unshallow --tags
  + cache: "yarn"
  + env:
  + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
  - name: Install Node dependencies
  run: yarn --frozen-lockfile
  @@ -31,5 +31,4 @@ jobs:
  run: npm run release
  env:
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
  - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  