Skip to content

Benchmark runner

Benchmark runner #577

Workflow file for this run

name: Benchmark runner
on:
push:
branches:
- test-bun
schedule:
- cron: '30 2 * * 0'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
- run: |
corepack enable
corepack prepare pnpm@next-8 --activate
- run: curl https://bun.sh/install | bash
- run: /home/runner/.bun/bin/bun -v
- run: pnpm --dir=benchmarks install
- run: pnpm --dir=benchmarks run benchmark
- run: pnpm --dir=benchmarks run benchmark
- run: pnpm --dir=benchmarks run benchmark
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "chore: update benchmarks"
branch: main