We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a108d commit a3185e1Copy full SHA for a3185e1
1 file changed
action-templates/actions/action-npm-release/action.yml
@@ -5,7 +5,10 @@ inputs:
5
node-version:
6
description: "Node version"
7
required: false
8
- default: "22"
+ node-version-file:
9
+ description: "File containing the version Spec of the version to use."
10
+ required: false
11
+ default: package.json
12
app-path:
13
description: "Path to package.json file"
14
required: true
@@ -32,6 +35,7 @@ runs:
32
35
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
33
36
with:
34
37
node-version: "${{ inputs.node-version }}"
38
+ node-version-file: ${{inputs.app-path}}/package.json
39
registry-url: "https://registry.npmjs.org"
40
cache: "npm"
41
cache-dependency-path: "./${{inputs.app-path}}/package-lock.json"
0 commit comments