Skip to content

Commit cad6380

Browse files
committed
ci: add bench github action
1 parent ae54663 commit cad6380

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/bench.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: bench
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
bench:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: pnpm/action-setup@v4
14+
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: pnpm
19+
20+
- run: pnpm install --frozen-lockfile
21+
- run: pnpm run build
22+
23+
- name: Run benchmarks
24+
run: pnpm -F bench run bench --run
25+
env:
26+
CI: true

0 commit comments

Comments
 (0)