Merge pull request #227 from VisActor/release/0.2.0 #237
This file contains hidden or 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: Changesets | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CI: true | |
| jobs: | |
| version: | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Setup pnpm | |
| run: corepack enable pnpm | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Create and publish versions | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| commit: 'chore: update versions' | |
| title: 'chore: update versions' | |
| publish: pnpm publish:ci | |
| createGithubReleases: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |