Re-render controls when lastError changes (#617) #641
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, next] | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18] | |
| pnpm-version: [8] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | |
| fetch-depth: 0 | |
| - uses: pnpm/[email protected] | |
| with: | |
| version: ${{ matrix.pnpm-version }} | |
| - name: Set up Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| cache: 'pnpm' | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install Dependencies | |
| run: | | |
| pnpm i --ignore-scripts | |
| pnpm postinstall | |
| - name: Create Release Pull Request or Publish to npm | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| title: 'chore: version packages' | |
| commit: 'chore: version packages' | |
| version: pnpm changeset:version | |
| publish: pnpm changeset:release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |