chore: add pkg-pr-new workflow for automated publishing - #937
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
Explain pkg.pr.new setup and the install URLs for PRs, commits, and master so users can try packages before a release.
hugomrdias
requested review from
a team,
BigLep,
jennijuju and
rjan90
as code owners
August 25, 2026 14:29
SgtPooki
approved these changes
Aug 25, 2026
SgtPooki
left a comment
Contributor
There was a problem hiding this comment.
lgtm. makes me want a focified version honestly..
Kubuxu
approved these changes
Aug 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds automated preview-package publishing via pkg.pr.new so contributors can install unreleased builds of Synapse packages directly from PRs/commits/master, and documents how to use these previews across the docs site.
Changes:
- Add
pkg-pr-newas a dev dependency for running the publish CLI in CI. - Introduce a new GitHub Actions workflow to build and publish previews on
pushandpull_request. - Add documentation and links/redirects for “Preview Packages” across Getting Started and Developer Guides.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds pkg-pr-new CLI dependency used by the new publishing workflow. |
| .github/workflows/pkg-pr-new.yml | New workflow to build the workspace and publish preview packages via pkg.pr.new. |
| docs/src/content/docs/developer-guides/preview-packages.mdx | New guide explaining preview package setup and install URL formats. |
| docs/src/content/docs/getting-started/index.mdx | Adds a tip and guide link pointing readers to Preview Packages. |
| docs/src/content/docs/developer-guides/synapse-react.mdx | Adds a tip linking to Preview Packages for unreleased React builds. |
| docs/src/content/docs/developer-guides/synapse-core.mdx | Adds a tip linking to Preview Packages for unreleased Core builds. |
| docs/astro.config.mjs | Adds a redirect to the new Preview Packages doc route. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
26
to
31
| "@biomejs/biome": "catalog:", | ||
| "knip": "6.32.2", | ||
| "markdownlint-cli2": "0.23.2", | ||
| "pkg-pr-new": "^0.0.88", | ||
| "typescript": "catalog:", | ||
| "wireit": "0.14.13" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@filoz/synapse-sdk,@filoz/synapse-core, and@filoz/synapse-reacton every push and pull request via pkg.pr.new, so unreleased changes can be installed without waiting for npm.pnpm exec pkg-pr-new publish --pnpm './packages/*'. The pkg.pr.new bot comments on PRs with install commands.@123), commits (@a832a55), andmaster(@master).Example:
Test plan
@master