Skip to content

Commit 07d97aa

Browse files
ci: add explicit mode to ci workflows
In v4, the action requires the explicit codspeed mode.
1 parent a3d2755 commit 07d97aa

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
6565
uses: CodSpeedHQ/action@main
6666
with:
67+
mode: instrumentation
6768
run: pnpm --filter ${{ matrix.example }} bench-tinybench
6869
env:
6970
CODSPEED_SKIP_UPLOAD: true
@@ -72,6 +73,7 @@ jobs:
7273
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
7374
uses: CodSpeedHQ/action@main
7475
with:
76+
mode: instrumentation
7577
run: pnpm --filter ${{ matrix.example }} bench-benchmark-js
7678
env:
7779
CODSPEED_SKIP_UPLOAD: true

.github/workflows/codspeed.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
2828
uses: CodSpeedHQ/action@main
2929
with:
30+
mode: instrumentation
3031
run: |
3132
pnpm moon run --concurrency 1 :bench
3233
pnpm --workspace-concurrency 1 -r bench-tinybench
@@ -53,6 +54,7 @@ jobs:
5354
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
5455
uses: CodSpeedHQ/action@main
5556
with:
57+
mode: walltime
5658
# Only tinybench supports walltime for now
5759
run: |
5860
pnpm moon run --concurrency 1 :bench

0 commit comments

Comments
 (0)