Skip to content

Comments

chore: set workers explicitly in playwright#2641

Merged
kettanaito merged 2 commits intomainfrom
chore/use-multi-core-actions-runner
Dec 17, 2025
Merged

chore: set workers explicitly in playwright#2641
kettanaito merged 2 commits intomainfrom
chore/use-multi-core-actions-runner

Conversation

@kettanaito
Copy link
Member

@kettanaito kettanaito commented Dec 17, 2025

  • The macos-latest runner actually has 3 CPU cores.
  • Playwright fails to determine the number of the machine's cores and defaults to using 1 worker.
  • You can explicitly set the workers option and finally make Playwright use the machine to full advantage.

@kettanaito kettanaito changed the title chore: use macos-15 for ci chore: use multi-core runner for actions Dec 17, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 17, 2025

Open in StackBlitz

npm i https://pkg.pr.new/msw@2641

commit: 7d726fc

@kettanaito kettanaito changed the title chore: use multi-core runner for actions chore: set workers explicitly in playwright Dec 17, 2025
@kettanaito kettanaito marked this pull request as ready for review December 17, 2025 16:10
@kettanaito kettanaito merged commit afb5c40 into main Dec 17, 2025
21 checks passed
@kettanaito kettanaito deleted the chore/use-multi-core-actions-runner branch December 17, 2025 16:11
@kettanaito
Copy link
Member Author

Released: v2.12.5 🎉

This has been released in v2.12.5.

Get these changes by running the following command:

npm i msw@latest

Predictable release automation by Release.

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.

1 participant