|
14 | 14 | REDOCLY_TELEMETRY: off |
15 | 15 |
|
16 | 16 | jobs: |
17 | | - latest-vs-next: |
18 | | - # Do not run on the release branch (changeset-release/main): |
19 | | - if: github.head_ref != 'changeset-release/main' |
20 | | - runs-on: ubuntu-latest |
21 | | - steps: |
22 | | - - uses: actions/checkout@v4 |
23 | | - - uses: actions/setup-node@v3 |
24 | | - with: |
25 | | - node-version: 24 |
26 | | - cache: npm |
27 | | - - name: Install Dependencies |
28 | | - run: npm ci |
29 | | - - name: Install External |
30 | | - run: npm i -g hyperfine |
31 | | - - name: Prepare |
32 | | - run: | |
33 | | - npm run compile |
34 | | - npm run pack:prepare |
35 | | - cd tests/performance/ |
36 | | - npm i |
37 | | - npm run make-test |
| 17 | + # latest-vs-next: |
| 18 | + # # Do not run on the release branch (changeset-release/main): |
| 19 | + # if: github.head_ref != 'changeset-release/main' |
| 20 | + # runs-on: ubuntu-latest |
| 21 | + # steps: |
| 22 | + # - uses: actions/checkout@v4 |
| 23 | + # - uses: actions/setup-node@v3 |
| 24 | + # with: |
| 25 | + # node-version: 24 |
| 26 | + # cache: npm |
| 27 | + # - name: Install Dependencies |
| 28 | + # run: npm ci |
| 29 | + # - name: Install External |
| 30 | + # run: npm i -g hyperfine |
| 31 | + # - name: Prepare |
| 32 | + # run: | |
| 33 | + # npm run compile |
| 34 | + # npm run pack:prepare |
| 35 | + # cd tests/performance/ |
| 36 | + # npm i |
| 37 | + # npm run make-test |
38 | 38 |
|
39 | | - - name: Run Benchmark |
40 | | - run: | |
41 | | - cd tests/performance/ |
42 | | - npm run compare_latest_vs_next |
43 | | - cat benchmark_check.md |
44 | | - npm run chart # Creates benchmark_chart.md with the performance bar chart. |
| 39 | + # - name: Run Benchmark |
| 40 | + # run: | |
| 41 | + # cd tests/performance/ |
| 42 | + # npm run compare_latest_vs_next |
| 43 | + # cat benchmark_check.md |
| 44 | + # npm run chart # Creates benchmark_chart.md with the performance bar chart. |
45 | 45 |
|
46 | | - - name: Comment PR |
47 | | - if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} |
48 | | - uses: thollander/actions-comment-pull-request@v2 |
49 | | - with: |
50 | | - filePath: tests/performance/benchmark_chart.md |
51 | | - comment_tag: latest-vs-next-comparison |
| 46 | + # - name: Comment PR |
| 47 | + # if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} |
| 48 | + # uses: thollander/actions-comment-pull-request@v2 |
| 49 | + # with: |
| 50 | + # filePath: tests/performance/benchmark_chart.md |
| 51 | + # comment_tag: latest-vs-next-comparison |
52 | 52 |
|
53 | 53 | historical-versions: |
54 | 54 | # Run only on release branch (changeset-release/main): |
55 | | - if: github.head_ref == 'changeset-release/main' |
| 55 | + # if: github.head_ref == 'changeset-release/main' |
56 | 56 | runs-on: ubuntu-latest |
57 | 57 | steps: |
58 | 58 | - uses: actions/checkout@v4 |
|
64 | 64 | run: npm ci |
65 | 65 | - name: Install External |
66 | 66 | run: npm i -g hyperfine |
| 67 | + |
| 68 | + - name: Clean up versions |
| 69 | + # Do not run on the release branch (changeset-release/main): |
| 70 | + if: github.head_ref != 'changeset-release/main' |
| 71 | + run: | |
| 72 | + echo "Cleaning up versions..." |
| 73 | +
|
67 | 74 | - name: Prepare |
68 | 75 | run: | |
69 | 76 | npm run compile |
|
75 | 82 | - name: Run Benchmark |
76 | 83 | run: | |
77 | 84 | cd tests/performance/ |
78 | | - npm run compare_historical_versions # This command is generated and injected into package.json in the previous step. |
| 85 | + npm run test # This command is generated and injected into package.json in the previous step. |
79 | 86 | cat benchmark_check.md |
80 | 87 | npm run chart # Creates benchmark_chart.md with the performance bar chart. |
81 | 88 |
|
|
0 commit comments