fix: react-hook plugin import breaking change #102
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: Continuous Deployment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| continuous-deployment: | |
| runs-on: ffy-ubuntu-24.04-arm # Provenance bundle signature check doesn't support self hosted runners. | |
| timeout-minutes: 10 | |
| permissions: | |
| id-token: write | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout default branch | |
| uses: actions/checkout@v5 | |
| - name: Use pnpm | |
| uses: pnpm/action-setup@v4.2.0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "pnpm" | |
| - name: Install npm dependencies | |
| run: pnpm i --frozen-lockfile | |
| - name: Create release PR or publish to npm | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| commit: "chore: release packages" | |
| title: "chore: release packages" | |
| createGithubReleases: true | |
| publish: pnpm release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: true | |
| # Use OIDC for npm authentication instead of NPM_TOKEN | |
| NPM_TOKEN: "" # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868 |