message: ci: create release on publish
diff: @@ -3,7 +3,7 @@ name: Publish
  on:
  push:
  tags:
  - - 'v*'
  + - "v*"
  jobs:
  publish:
  @@ -15,10 +15,22 @@ jobs:
  - uses: actions/checkout@v2
  - uses: actions/setup-node@v1
  with:
  - registry-url: 'https://registry.npmjs.org'
  + registry-url: "https://registry.npmjs.org"
  - name: Install Node dependencies
  run: yarn --frozen-lockfile
  - - run: yarn build
  - - run: npm publish
  + - name: Build
  + run: yarn build
  + - name: Publish to NPM
  + run: npm publish
  env:
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
  + - name: Create Release
  + id: create_release
  + uses: actions/create-release@v1
  + env:
  + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  + with:
  + tag_name: ${{ github.ref }}
  + release_name: Release ${{ github.ref }}
  + draft: false
  + prerelease: false
  