chore: update changelogs (#562) #412
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: release | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: actions/setup-node@v5 | |
with: | |
node-version: 24 | |
package-manager-cache: false # Why does this break? | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- run: pnpm run build | |
- run: pnpm exec changeset pre alpha | |
- uses: changesets/action@v1 | |
with: | |
version: pnpm run version | |
publish: pnpm exec changeset publish --dry-run | |
commit: "[ci] release" | |
title: "[ci] release" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |