chore: bump version (#108) #36
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 | |
on: | |
push: | |
branches: | |
- master | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# fetch all tags, so changeset tag does not create extra tags | |
- run: git fetch --tags origin | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- run: pnpm install | |
- uses: changesets/action@v1 | |
with: | |
title: 'chore: release' | |
commit: 'chore: bump version' | |
version: pnpm run version | |
publish: pnpm run publish | |
createGithubReleases: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |