Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(plugins-benchmark-pr): run comparison benchmark against target #120

Merged
Prev Previous commit
Next Next commit
refactor(plugins-benchmark-pr): consistency in step id
  • Loading branch information
mweberxyz committed Feb 22, 2024
commit 75ab845f76479a82a92bdf7b72d61a79b491f816
8 changes: 4 additions & 4 deletions .github/workflows/plugins-benchmark-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
PR-BENCH-18: ${{ steps.benchmark-pr.outputs.BENCH_RESULT_18 }}
PR-BENCH-20: ${{ steps.benchmark-pr.outputs.BENCH_RESULT_20 }}
PR-BENCH-21: ${{ steps.benchmark-pr.outputs.BENCH_RESULT_21 }}
BASE-BENCH-18: ${{ steps.benchmark-default.outputs.BENCH_RESULT_18 }}
BASE-BENCH-20: ${{ steps.benchmark-default.outputs.BENCH_RESULT_20 }}
BASE-BENCH-21: ${{ steps.benchmark-default.outputs.BENCH_RESULT_21 }}
BASE-BENCH-18: ${{ steps.benchmark-base.outputs.BENCH_RESULT_18 }}
BASE-BENCH-20: ${{ steps.benchmark-base.outputs.BENCH_RESULT_20 }}
BASE-BENCH-21: ${{ steps.benchmark-base.outputs.BENCH_RESULT_21 }}

strategy:
matrix:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
npm install --ignore-scripts

- name: Run benchmark ${{ inputs.base-repo }}@${{ inputs.base-ref }}
id: benchmark-default
id: benchmark-base
run: |
echo 'BENCH_RESULT_${{matrix.node-version}}<<EOF' >> $GITHUB_OUTPUT
npm run --silent ${{inputs.npm-script}} >> $GITHUB_OUTPUT
Expand Down