fix(forms): pass resolver for indirect refs in dicts and name trees #30
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: PR Benchmarks | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "src/**/*.ts" | |
| - "benchmarks/**/*.ts" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| bench: | |
| name: Run Benchmarks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Run benchmarks | |
| run: bun run bench -- --outputJson bench-results.json | |
| - name: Generate comment | |
| run: bun run scripts/bench-comment.ts bench-results.json bench-comment.md | |
| env: | |
| BENCH_RUNNER: ${{ runner.os }} (${{ runner.arch }}) | |
| - name: Post or update PR comment | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| with: | |
| header: benchmark-results | |
| path: bench-comment.md |