Skip to content

Commit 7247617

Browse files
authoredDec 13, 2023
Add package.json to node-version-file list of examples. (actions#879)
1 parent f3ec4ca commit 7247617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ See [action.yml](action.yml)
2525
# Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node
2626
node-version: ''
2727

28-
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
28+
# File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.
2929
# If node-version and node-version-file are both provided the action will use version from node-version.
3030
node-version-file: ''
3131

‎action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
node-version:
99
description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.'
1010
node-version-file:
11-
description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.'
11+
description: 'File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.'
1212
architecture:
1313
description: 'Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.'
1414
check-latest:

0 commit comments

Comments
 (0)