| `install-extra-opts` / `NODE_INSTALL_EXTRA_OPTS` | Extra options to install project dependencies (either [`npm ci`](https://docs.npmjs.com/cli/ci.html/), [`yarn install`](https://yarnpkg.com/cli/install), [`pnpm install`](https://pnpm.io/cli/install) or [`bun install`](https://bun.com/docs/pm/cli/install)) | _none_ |
| `corepack-policy` / `NODE_COREPACK_POLICY` | [Corepack](https://nodejs.org/api/corepack.html) support policy (one of `auto`, `enabled` or `disabled`) | `auto` |
### Using Corepack
[Corepack](https://nodejs.org/api/corepack.html) ships with recent Node.js images and manages shims for Yarn and pnpm.
By default, the template will automatically enable Corepack if the `packageManager` field is detected in your `package.json`.
This automatic behavior can be overridden by setting explicitly the `corepack-policy` input / `NODE_COREPACK_POLICY` variable to `enabled` or `disabled`.
:warning: If the `corepack` command is not found in the image while trying to enable Corepack, the flag is ignored with a warning.
description:npm [publish](https://docs.npmjs.com/cli/v8/commands/npm-publish) extra arguments - yarn [publish](https://classic.yarnpkg.com/lang/en/docs/cli/publish/) extra arguments - pnpm [publish](https://pnpm.io/cli/publish) extra arguments