-
Notifications
You must be signed in to change notification settings - Fork 0
chore(ci): let pnpm-version follow packageManager by default #335
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,9 +24,13 @@ on: | |||||||||||||||||||
| type: string | ||||||||||||||||||||
| default: '24' | ||||||||||||||||||||
| pnpm-version: | ||||||||||||||||||||
| description: 'pnpm version' | ||||||||||||||||||||
| description: >- | ||||||||||||||||||||
| pnpm version for `pnpm/action-setup`. Empty, the default, makes the | ||||||||||||||||||||
| action read `packageManager` from the caller's package.json, which | ||||||||||||||||||||
| keeps CI on the version the repository actually pins. Set it only for | ||||||||||||||||||||
| a repository that has no `packageManager` field. | ||||||||||||||||||||
|
Comment on lines
+28
to
+31
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: "the caller's package.json" is ambiguous for the monorepo case this workflow explicitly supports.
Suggested change
|
||||||||||||||||||||
| type: string | ||||||||||||||||||||
| default: '10' | ||||||||||||||||||||
| default: '' | ||||||||||||||||||||
| package-manager: | ||||||||||||||||||||
| description: 'Package manager (pnpm, npm, yarn)' | ||||||||||||||||||||
| type: string | ||||||||||||||||||||
|
|
||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: same wording as the node workflow, and it matters more here since
cache-dependency-pathdocuments the sub-package layout explicitly.