Skip to content

Fix pnpm setup in benchmark workflow - #11719

Merged
Bill Schnurr (bschnurr) merged 1 commit into
microsoft:mainfrom
bschnurr:fix/benchmark-pnpm-version
Sep 8, 2026
Merged

Bill Schnurr (bschnurr) merged 1 commit into
microsoft:mainfrom
bschnurr:fix/benchmark-pnpm-version

Conversation

@bschnurr

Copy link
Copy Markdown
Member

Summary

  • remove the workflow-specific pnpm version from the PR benchmark
  • use the packageManager version declared in package.json
  • guard against configuring a second pnpm version source

Fixes the setup failure in https://github.com/microsoft/pyright/actions/runs/34192441400/job/101953077604

Test

  • python -m unittest test_compare_benchmarks.CompareBenchmarksTest.test_workflows_use_current_pnpm_setup

Let pnpm/action-setup use the packageManager version declared in package.json rather than providing a conflicting workflow-specific version.

Co-authored-by: Copilot <[email protected]>
@bschnurr
Bill Schnurr (bschnurr) merged commit d72e2fe into microsoft:main Sep 8, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants