Skip to content

Commit 70ce714

Browse files
committed
WIP: TEST BENCHMARK!
1 parent bdf7d2d commit 70ce714

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/performance.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ env:
1515

1616
jobs:
1717
latest-vs-next:
18+
# Do not run on the release branch (changeset-release/main):
19+
if: github.head_ref != 'changeset-release/main'
1820
runs-on: ubuntu-latest
1921
steps:
2022
- uses: actions/checkout@v4
@@ -25,7 +27,7 @@ jobs:
2527
- name: Install Dependencies
2628
run: npm ci
2729
- name: Install External
28-
run: npm i -g hyperfine @redocly/cli@latest
30+
run: npm i -g hyperfine
2931
- name: Prepare
3032
run: |
3133
npm run compile
@@ -38,6 +40,8 @@ jobs:
3840
run: |
3941
cd tests/performance/
4042
npm run compare_latest_vs_next
43+
cat benchmark_check.md
44+
npm run chart # Creates benchmark_chart.md with the performance bar chart.
4145
4246
- name: Comment PR
4347
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
@@ -48,7 +52,7 @@ jobs:
4852

4953
historical-versions:
5054
# Run only on release branch (changeset-release/main):
51-
# if: github.head_ref == 'changeset-release/main' # FIXME: Uncomment this!
55+
if: github.head_ref == 'changeset-release/main'
5256
runs-on: ubuntu-latest
5357
steps:
5458
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)