feat: standalone binary (#92)
Some checks are pending
Test Action / Test with default inputs (push) Waiting to run
Test Action / Test with default inputs-1 (push) Waiting to run
Test Action / Test with default inputs-2 (push) Waiting to run
Test Action / Test with dest (push) Waiting to run
Test Action / Test with dest-1 (push) Waiting to run
Test Action / Test with dest-2 (push) Waiting to run
Test Action / Test with standalone (push) Waiting to run
Test Action / Test with standalone-1 (push) Waiting to run
Test Action / Test with standalone-2 (push) Waiting to run
Test Action / Test with standalone-3 (push) Waiting to run
Test Action / Test with standalone-4 (push) Waiting to run
Test Action / Test with standalone-5 (push) Waiting to run
Test Action / Test with run_install (array, macos-latest) (push) Waiting to run
Test Action / Test with run_install (empty object, macos-latest) (push) Waiting to run
Test Action / Test with run_install (global, macos-latest) (push) Waiting to run
Test Action / Test with run_install (null, macos-latest) (push) Waiting to run
Test Action / Test with run_install (recursive, macos-latest) (push) Waiting to run
Test Action / Test with run_install (array, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (global, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (null, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (array, windows-latest) (push) Waiting to run
Test Action / Test with run_install (empty object, windows-latest) (push) Waiting to run
Test Action / Test with run_install (global, windows-latest) (push) Waiting to run
Test Action / Test with run_install (null, windows-latest) (push) Waiting to run
Test Action / Test with run_install (recursive, windows-latest) (push) Waiting to run

* feat: add an option to install the self-contained binary version of pnpm

* test: add a test about nodejs_bundled

* style: remove an empty line

* chore: use newer pnpm

* chore: update dependencies

* feat: rename `nodejs_bundled` to `standalone`

as @zkochan suggested

* docs: add

---------

Co-authored-by: Takashi Sato <takashi@tks.st>
This commit is contained in:
Khải 2023-07-26 18:50:04 +07:00 committed by GitHub
parent 0b715c7ebb
commit d882d12c64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 285 additions and 191 deletions

View file

@ -40,7 +40,13 @@ If `run_install` is a YAML string representation of either an object or an array
### `package_json_file`
**Optional** File path to the `package.json` to read "packageManager" configutation. If not specified, `package.json` in the project root directory is used.
**Optional** (_type:_ `string`, _default:_ `package.json`) File path to the `package.json` to read "packageManager" configuration.
### `standalone`
**Optional** (_type:_ `boolean`, _default:_ `false`) When set to true, [@pnpm/exe](https://www.npmjs.com/package/@pnpm/exe), which is a Node.js bundled package, will be installed, enabling using `pnpm` without Node.js.
This is useful when you want to use a incompatible pair of Node.js and pnpm.
## Outputs