Skip to content

Commit 0f69e2b

Browse files
committed
ci: add CodSpeed benchmarks for intent CLI
1 parent e3569ff commit 0f69e2b

8 files changed

Lines changed: 1161 additions & 7 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Benchmarks
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
paths:
8+
- 'packages/**'
9+
- 'benchmarks/**'
10+
- 'pnpm-lock.yaml'
11+
- 'pnpm-workspace.yaml'
12+
pull_request:
13+
paths:
14+
- 'packages/**'
15+
- 'benchmarks/**'
16+
- 'pnpm-lock.yaml'
17+
- 'pnpm-workspace.yaml'
18+
workflow_dispatch:
19+
20+
permissions:
21+
contents: read
22+
id-token: write
23+
24+
env:
25+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
26+
NX_NO_CLOUD: true
27+
28+
jobs:
29+
benchmarks:
30+
name: Run intent CodSpeed benchmark
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v6.0.1
35+
36+
- name: Setup Tools
37+
uses: tanstack/config/.github/setup@main
38+
39+
- name: Run intent CodSpeed benchmark
40+
continue-on-error: true
41+
uses: CodSpeedHQ/action@v4
42+
with:
43+
mode: simulation
44+
run: WITH_INSTRUMENTATION=1 pnpm --dir benchmarks/intent test:perf

0 commit comments

Comments
 (0)