feat: initialize component library infrastructure with Tailwind v4 a… #1
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
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: # Allows manual triggering for testing | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| name: release | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| release-type: node | |
| - name: checkout | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/checkout@v6 | |
| - name: setup pnpm | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 | |
| - name: setup node | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| registry-url: "https://registry.npmjs.org" | |
| cache: "pnpm" | |
| - name: install dependencies | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: pnpm install --no-frozen-lockfile | |
| - name: lint code | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: pnpm run lint | |
| - name: type check | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: pnpm run typecheck | |
| - name: build package | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: pnpm run build | |
| - name: publish to npm | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: pnpm publish --no-git-checks --provenance |