chore(release): version packages #28
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: Changeset | |
| on: | |
| pull_request: | |
| # Keep in sync with the release workflow: backports to a `vN` maintenance branch | |
| # need a changeset just as much as changes to `main` do. | |
| branches: [main, 'v[0-9]+'] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| status: | |
| name: 'Changeset: Status' | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| # `changeset status` diffs against the base branch, so it needs the history | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: npm | |
| # Only the changesets CLI is needed here, so skip the build that `prepare` triggers | |
| - run: npm ci --ignore-scripts | |
| - name: Check that user-facing changes have a changeset | |
| run: npx changeset status --since=origin/${{ github.base_ref }} |