feat: add version_file_path option

Using the same logic as `actions/setup-node`, we can support `asdf`, `volta` or other version management techniques.
This commit is contained in:
Don Denton
2024-11-27 23:32:44 -05:00
parent ac5bf11548
commit 6217a9d8c4
10 changed files with 226 additions and 8 deletions

View File

@ -7,6 +7,9 @@ inputs:
version:
description: Version of pnpm to install
required: false
version_file_path:
description: "Path to a version file. Eg: '.tool-versions' for asdf or 'package.json' for volta"
required: false
dest:
description: Where to store pnpm files
required: false