Skip to content

Commit eb04cb9

Browse files
committed
switch to passing fixture dir to bash script
1 parent 34a6ca4 commit eb04cb9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/benchmark.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ jobs:
6464
6565
- name: Run Project Benchmarks (Next)
6666
run: |
67-
cd next
68-
bash scripts/run.sh
67+
bash scripts/run.sh next
6968
7069
- name: Run Project Benchmarks (Astro)
7170
run: |

scripts/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
cd $1
4+
35
hyperfine --export-json=../next.json --warmup 3 --runs 10 -i --prepare ' \
46
rm -rf ./node_modules/; \
57
rm -rf .npm*; \

0 commit comments

Comments
 (0)