Fix AnimatePresence race conditions and double callbacks #90
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: Preview | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{github.head_ref || github.ref_name}} | |
| cancel-in-progress: true | |
| jobs: | |
| Preview: | |
| name: Publish pkg.pr.new preview | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Dependencies | |
| run: bun --bun install --frozen-lockfile | |
| - name: Build | |
| run: bun --bun run build | |
| - name: Publish preview | |
| run: npx pkg-pr-new publish . --template './examples/*' |