name: Release

on:
  push:
    tags:
      - 'v3.*.*'

jobs:
  release:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
      # https://github.com/peaceiris/workflows/blob/main/create-release-npm/action.yml
      - uses: peaceiris/workflows/create-release-npm@v0.19.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
