Release new version #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release new version | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.RELEASE_IT_TOKEN }} | |
- name: Install release-it | |
run: npm install --global release-it @release-it/conventional-changelog | |
- name: Set git identity | |
run: | | |
git config user.name "release bot" | |
git config user.email "[email protected]" | |
- name: Release | |
run: release-it --ci | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_IT_TOKEN }} |