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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ Tag: patch
174
174
175
175
| Input | Description | Default | Required |
176
176
|-------|-------------|---------|----------|
177
-
|`package-path`| Path to package.json |`./package.json`| No |
177
+
|`package-path`| Path to package.json. Relative paths are resolved from the workflow workspace, and repository contents are checked out automatically when needed.|`./package.json`| No |
178
178
|`build-script`| NPM script to run before publishing |`build`| No |
179
179
|`package-manager`| Package manager to use: `npm`, `yarn`, `pnpm`, `bun`, or `auto` (auto-detects from lockfile) |`auto`| No |
180
180
|`version-prefix`| Accepted for backward compatibility but ignored at runtime because npm package versions must remain valid SemVer | - | No |
@@ -222,8 +222,8 @@ Tag: patch
222
222
| Input | Description | Default | Required |
223
223
|-------|-------------|---------|----------|
224
224
|`monorepo`| Enable monorepo mode |`false`| No |
225
-
|`package-paths`| Comma-separated list of package.json paths (monorepo mode only). Takes priority over workspace-detection. Either this OR workspace-detection with valid workspaces field is required when monorepo is true. | - | Conditional*|
226
-
|`workspace-detection`| Auto-detect workspaces from the package.json resolved from `package-path` (default `./package.json`). Reads its `workspaces` field and discovers all non-private packages. |`true`| No |
225
+
|`package-paths`| Comma-separated list of package.json paths (monorepo mode only). Relative paths are resolved from the workflow workspace. Takes priority over workspace-detection. Either this OR workspace-detection with valid workspaces field is required when monorepo is true. | - | Conditional*|
226
+
|`workspace-detection`| Auto-detect workspaces from the package.json resolved from `package-path` (default `./package.json`). The root package path is resolved from the workflow workspace. Reads its `workspaces` field and discovers all non-private packages. |`true`| No |
227
227
|`changed-only`| Only build/publish packages that changed relative to the event-specific git diff base (monorepo mode only). Uses git diff to detect changes. |`true`| No |
228
228
|`dependency-order`| Build packages in dependency order using topological sort (monorepo mode only). Analyzes workspace dependencies and builds packages in the correct order. Works with Bun-only monorepos through the same runtime-aware helper execution used elsewhere in the action. Set to `false` to use discovery order. Has no effect when using explicit `package-paths` without workspace discovery metadata. |`true`| No |
Copy file name to clipboardExpand all lines: action.yml
+27-10Lines changed: 27 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ inputs:
45
45
46
46
# Package Configuration
47
47
package-path:
48
-
description: 'Path to package.json'
48
+
description: 'Path to package.json. Relative paths are resolved from the workflow workspace, and repository contents are checked out automatically when needed.'
49
49
required: false
50
50
default: './package.json'
51
51
@@ -113,7 +113,7 @@ inputs:
113
113
default: 'false'
114
114
115
115
package-paths:
116
-
description: 'Comma-separated list of package.json paths (monorepo mode)'
116
+
description: 'Comma-separated list of package.json paths (monorepo mode). Relative paths are resolved from the workflow workspace.'
0 commit comments