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

1
test/.tool-versions Normal file
View File

@ -0,0 +1 @@
pnpm 4.11.1

View File

@ -0,0 +1 @@
{"engines":{"pnpm":"4.11.1"}}

View File

@ -0,0 +1 @@
{"volta":{"extends":"./package.volta.json"}}

1
test/package.volta.json Normal file
View File

@ -0,0 +1 @@
{"volta":{"pnpm":"4.11.1"}}