Skip to content

Commit 102e9c1

Browse files
ci: pin action to v3 and remove moon's --concurency usage
v3 was the action version of the previous base job. We want to do changes one by one, and v4 (current main) does not work without the concurrency change. This just brings the concurrency change that we will need to set the action version to the latest (v4) again.
1 parent a3d2755 commit 102e9c1

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ jobs:
6262

6363
- name: Run benchmarks with tinybench-plugin
6464
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
65-
uses: CodSpeedHQ/action@main
65+
uses: CodSpeedHQ/action@v3
6666
with:
6767
run: pnpm --filter ${{ matrix.example }} bench-tinybench
6868
env:
6969
CODSPEED_SKIP_UPLOAD: true
7070
CODSPEED_DEBUG: true
7171
- name: Run benchmarks with benchmark.js-plugin
7272
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
73-
uses: CodSpeedHQ/action@main
73+
uses: CodSpeedHQ/action@v3
7474
with:
7575
run: pnpm --filter ${{ matrix.example }} bench-benchmark-js
7676
env:

.github/workflows/codspeed.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525

2626
- name: Run benchmarks
2727
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
28-
uses: CodSpeedHQ/action@main
28+
uses: CodSpeedHQ/action@v3
2929
with:
3030
run: |
31-
pnpm moon run --concurrency 1 :bench
31+
pnpm moon run tinybench-plugin:bench
32+
pnpm moon run vitest-plugin:bench
33+
pnpm moon run benchmark.js-plugin:bench
3234
pnpm --workspace-concurrency 1 -r bench-tinybench
3335
pnpm --workspace-concurrency 1 -r bench-benchmark-js
3436
pnpm --workspace-concurrency 1 -r bench-vitest
@@ -51,10 +53,11 @@ jobs:
5153

5254
- name: Run benchmarks
5355
# use version from `main` branch to always test the latest version, in real projects, use a tag, like `@v2`
54-
uses: CodSpeedHQ/action@main
56+
uses: CodSpeedHQ/action@v3
5557
with:
56-
# Only tinybench supports walltime for now
5758
run: |
58-
pnpm moon run --concurrency 1 :bench
59+
pnpm moon run tinybench-plugin:bench
60+
pnpm moon run vitest-plugin:bench
61+
pnpm moon run benchmark.js-plugin:bench
5962
pnpm --workspace-concurrency 1 -r bench-tinybench
6063
pnpm --workspace-concurrency 1 -r bench-vitest

0 commit comments

Comments
 (0)