-
Notifications
You must be signed in to change notification settings - Fork 0
fix: publish from package directory #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -5,7 +5,7 @@ read_when: | |||||||||
| - Preparing a release | ||||||||||
| - Wiring npm publish automation | ||||||||||
| - Updating release pipeline behavior | ||||||||||
| updated_at: 2026-03-30 | ||||||||||
| updated_at: 2026-03-31 | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| # Releasing | ||||||||||
|
|
@@ -28,7 +28,8 @@ This repo uses Changesets for versioning and publishes `@module-federation/astro | |||||||||
| - Release trigger: `latest` for stable releases, `next` for prereleases | ||||||||||
| - Manual trigger (`workflow_dispatch`): `latest` or `next` | ||||||||||
| - Pre-release versioning: | ||||||||||
| - On `prereleased` events, workflow patches `packages/astro/package.json` to `<base>-next.<N>` before publish. | ||||||||||
| - On `prereleased` events, workflow patches `packages/astro/package.json` to `<base>-next.<N>` before publish. | ||||||||||
| - npm publish runs from `packages/astro` directly; this repo uses `pnpm-workspace.yaml`, not root npm workspaces. | ||||||||||
|
Comment on lines
+31
to
+32
|
||||||||||
| - On `prereleased` events, workflow patches `packages/astro/package.json` to `<base>-next.<N>` before publish. | |
| - npm publish runs from `packages/astro` directly; this repo uses `pnpm-workspace.yaml`, not root npm workspaces. | |
| - On `prereleased` events, workflow patches `packages/astro/package.json` to `<base>-next.<N>` before publish. | |
| - npm publish runs from `packages/astro` directly; this repo uses `pnpm-workspace.yaml`, not root npm workspaces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow no longer uses npm workspaces, but the repo still contains
.github/workflows/release.ymlwhich runsnpm publish ... --workspace packages/astro(and will hit the same “No workspaces found” error described in the PR). If that workflow is still intended to be used, it should be updated similarly (publish frompackages/astroor use--prefix), or removed to avoid a broken release path.