Skip to content

feat: enhance table stateless sort button #536

feat: enhance table stateless sort button

feat: enhance table stateless sort button #536

name: Benchmark-PR-Check
on:
pull_request:
concurrency:
group: 'workflow-${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
benchmark:
# Skip this job when the base clone URL may be different from the head clone URL.
if: github.event.pull_request.head.repo.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: true
- name: Install and execute benchmark
uses: ./.github/actions/benchmark
- name: Compare benchmark with baseline
run: node scripts/compare-benchmark.mjs
working-directory: packages/tools/benchmark-tests
- name: Find comment
uses: peter-evans/find-comment@v3
id: fc
with:
body-includes: Hydration Benchmark Report
comment-author: 'github-actions[bot]'
issue-number: ${{ github.event.pull_request.number }}
- name: Post PR Comment
uses: peter-evans/create-or-update-comment@v4
with:
body-path: packages/tools/benchmark-tests/benchmark-report.md
comment-id: ${{ steps.fc.outputs.comment-id }}
edit-mode: replace
issue-number: ${{ github.event.pull_request.number }}