fix(cli): resolve component dependencies and missing tw helper exports #116
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 Version Management | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| paths-ignore: | |
| - "*.md" | |
| - "docs/**" | |
| - ".github/ISSUE_TEMPLATE/**" | |
| - ".github/pull_request_template.md" | |
| - "CHANGELOG.md" | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: "Branch to create changeset PR for" | |
| required: true | |
| default: "dev" | |
| type: choice | |
| options: | |
| - dev | |
| - alpha | |
| - beta | |
| - rc | |
| # Only one changeset version PR should be active at a time per branch. | |
| # If a newer push arrives, cancel the in-progress run. | |
| concurrency: | |
| group: changeset-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| version: | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.18.1 | |
| run_install: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Create Release Pull Request | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: pnpm changeset:version | |
| commit: "chore: version packages" | |
| title: "chore: version packages" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Print changeset status | |
| run: pnpm changeset:status |