Skip to content

Conversation

@nickvergessen
Copy link
Member

Following the server repo, this allows all apps to deduplicate:

		"psalm": "psalm --threads=1",
		"psalm:dev": "psalm --no-cache --threads=$(nproc)",

psalm exists in all apps, so that's what most devs run first, but if it's single thread it can be very slow.
With this change, CI will overwrite it to be single thread but the default dev environment will still use all threads and you don't need to memorize which app requires you to run psalm or psalm:dev for it.

@nickvergessen nickvergessen merged commit cc0cd19 into master Dec 11, 2024
5 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/better-psalm branch December 11, 2024 22:25
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.

3 participants