Skip to content

Commit 74b93b1

Browse files
authored
remove unnessery parameter
Co-authored-by: Hans <11695964+hupling@users.noreply.github.com>
1 parent 1e19d2a commit 74b93b1

4 files changed

Lines changed: 4 additions & 28 deletions

File tree

action-templates/actions/action-build-docs/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ inputs:
1010
node-version:
1111
description: "Node version"
1212
required: false
13-
node-version-file:
14-
description: "File containing the version Spec of the version to use."
15-
required: false
16-
default: package.json
1713
build-cmd:
1814
description: "Build command to run (e.g. for VuePress use: vuepress build)"
1915
required: false

action-templates/actions/action-npm-build/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ inputs:
55
node-version:
66
description: "node version"
77
required: false
8-
node-version-file:
9-
description: "File containing the version Spec of the version to use."
10-
required: false
11-
default: package.json
128
app-path:
139
description: "Path to package.json file"
1410
required: true

action-templates/actions/action-npm-release/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ inputs:
55
node-version:
66
description: "Node version"
77
required: false
8-
node-version-file:
9-
description: "File containing the version Spec of the version to use."
10-
required: false
11-
default: package.json
128
app-path:
139
description: "Path to package.json file"
1410
required: true

docs/actions.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,8 @@ Workflows using that action need the following permissions:
7474
# Default: ./docs
7575
docs-path: "./docs"
7676
77-
# Node version
77+
# Node version. If node-version and node-version-file are both provided the action will use version from node-version.
7878
node-version: "22"
79-
# File containing the version Spec of the version to use. Examples: package.json
80-
# If node-version and node-version-file are both provided the action will use version from node-version.
81-
# Default: "package.json
82-
node-version-file: "package.json"
8379
8480
# Build command to run (e.g. "vuepress build" for VuePress projects)
8581
# Default: build
@@ -551,12 +547,8 @@ Workflows using that action need the following permissions:
551547
```yaml
552548
- uses: it-at-m/lhm_actions/action-templates/actions/action-npm-build
553549
with:
554-
# Node Version to use
555-
node-version: "22.11.0"
556-
# File containing the version Spec of the version to use. Examples: package.json
557-
# If node-version and node-version-file are both provided the action will use version from node-version.
558-
# Default: "package.json
559-
node-version-file: "package.json"
550+
# Node Version to use. If node-version and node-version-file are both provided the action will use version from node-version.
551+
node-version: "22"
560552
561553
# Path to package.json
562554
app-path: "."
@@ -601,12 +593,8 @@ Workflows using that action need the following permissions:
601593
```yaml
602594
- uses: it-at-m/lhm_actions/action-templates/actions/action-npm-release
603595
with:
604-
# Node Version to use
596+
# Node Version to use. If node-version and node-version-file are both provided the action will use version from node-version.
605597
node-version: "22"
606-
# File containing the version Spec of the version to use. Examples: package.json
607-
# If node-version and node-version-file are both provided the action will use version from node-version.
608-
# Default: "package.json
609-
node-version-file: "package.json"
610598
611599
# Path to package.json
612600
# "" would be equal to "./package.json" and "test-frontend" to "./test-frontend/package.json"

0 commit comments

Comments
 (0)