ci(bench): publish the scaled benchmark report as an artifact
The node-24-bench job uploads benchmarks/.dsh-report after the benchmark step, including when a budget assertion fails, so the report the Vitest globalSetup renders survives the runner. #5838 deferred this step because the authoring token had no workflow scope. Refs #5838
This commit is contained in:
1 parent
4c93974d9b
commit
a646dabbe9
2 files changed
+29
No files matched your search
@@ -249,6 +249,18 @@ jobs:
|
||||
DSH_GATE_VERBOSE: '1'
|
||||
run: pnpm run check:ci:bench
|
||||
|
||||
# The report global setup renders benchmarks/.dsh-report after the run,
|
||||
# including after a failing budget assertion.
|
||||
- name: Upload scaled benchmark report
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/[email protected]
|
||||
with:
|
||||
name: benchmark-report
|
||||
path: benchmarks/.dsh-report/
|
||||
include-hidden-files: true
|
||||
if-no-files-found: ignore
|
||||
retention-days: 7
|
||||
|
||||
node-24-consumers:
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: >-
|
||||
|
||||
Reference in new issue
Block a user