You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`node`|`22`| Version Spec of the version to use in SemVer notation.<br /> It also emits such aliases as lts, latest, nightly and canary builds.<br /> Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
31
-
|`node-file`|`''`| File containing the version Spec of the version to use.<br /> Examples: .nvmrc, .node-version, .tool-versions.<br /> If `node` and `node-file` are both provided the action will use version from `node-file`. |
32
-
|`cwd`|`.`| Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled |
33
-
|`install`|`false`| Runs "pnpm install" in working directory |
34
-
|`install-ignore-scripts`|`false`| Runs "pnpm install --ignore-scripts" in working directory. Enable "install" or "install-ignore-scripts" only once |
|`node`|`22`| Version Spec of the version to use in SemVer notation.<br /> It also emits such aliases as lts, latest, nightly and canary builds.<br /> Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node |
30
+
|`node-file`|`''`| File containing the version Spec of the version to use.<br /> Examples: .nvmrc, .node-version, .tool-versions.<br /> If `node` and `node-file` are both provided the action will use the version from `node-file`. |
31
+
|`cwd`|`.`| Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled |
32
+
|`package_file`|`package.json`| File path to the package.json to read "packageManager" configuration (also supports package.yml). Works in conjunction with "cwd" input. |
33
+
|`install`|`false`| Runs "pnpm install" in working directory |
34
+
|`install-ignore-scripts`|`false`| Runs "pnpm install --ignore-scripts" in working directory. Enable "install" or "install-ignore-scripts" only once |
Copy file name to clipboardExpand all lines: action.yml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,22 @@ inputs:
9
9
pnpm:
10
10
description: 'PNPM version'
11
11
required: false
12
-
default: '9'
13
12
node:
14
13
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
15
14
required: false
16
15
default: '22'
17
16
node-file:
18
-
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.'
17
+
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions. If "node" and "node-file" are both provided the action will use the version from "node-file".'
19
18
required: false
20
19
default: ''
21
20
cwd:
22
21
description: 'Work directory'
23
22
required: false
24
23
default: '.'
24
+
package_file:
25
+
description: 'File path to the package.json to read "packageManager" configuration (also supports package.yml). Works in conjunction with "cwd"'
0 commit comments