fix(deps): upgrade eslint-plugin-react-hooks
#33
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, canary] | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-environment | |
| - name: Release | |
| run: pnpm semantic-release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.CI_GITHUB_PAT }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| sync-canary: | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| needs: [release] | |
| name: Sync canary with main | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: canary | |
| token: ${{ secrets.CI_GITHUB_PAT }} | |
| - name: Back-merge main into canary | |
| run: | | |
| git merge --ff-only origin/main | |
| git push |