Skip to content

feat: add withResolvers ponyfill #1

feat: add withResolvers ponyfill

feat: add withResolvers ponyfill #1

Workflow file for this run

name: Benchmark Pull Request
on:
pull_request:
branches: [main, next]
paths:
- 'src/**/*.ts'
jobs:
benchmark:
name: Run Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: pnpm
- name: Install dependencies
run: |
# Only install Vitest for the root directory.
echo '{"type":"module","dependencies":{"vitest":"2.0.5"}}' > package.json
pnpm install --no-frozen-lockfile
pnpm install -C scripts/benchmarks
pnpm install -C scripts/radashi-db
- name: Run benchmarks
env:
RADASHI_BOT_TOKEN: ${{ secrets.RADASHI_BOT_TOKEN }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
run: |
./scripts/benchmarks/node_modules/.bin/tsx ./scripts/benchmarks/ci-bench-pr.ts ${{ github.base_ref }} ${{ github.event.number }}