-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from ThatXliner/patch-1
Add option to configure pnpm version
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,10 @@ inputs: | |
description: "If not automatically detectable, you may specify your preferred package manager" | ||
required: false | ||
default: "" | ||
pnpm-version: | ||
description: "If package-manager is pnpm, use this specific version. Defaults to latest" | ||
required: false | ||
default: "7.x.x" | ||
resolve-dep-from-path: | ||
description: "If the dependency file is located inside the folder specified by path" | ||
type: boolean | ||
|
@@ -54,7 +58,7 @@ runs: | |
if: ${{ env.PACKAGE_MANAGER == 'pnpm' }} | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 7.x.x | ||
version: ${{ inputs.pnpm-version }} | ||
|
||
- name: Setup Bun | ||
if: ${{ env.PACKAGE_MANAGER == 'bun' }} | ||
|