Skip to content

ci: add per-PR preview publishes via pkg.pr.new (#1357)#1358

Open
jagguji wants to merge 2 commits intojuspay:devfrom
jaggaroshu:feat/1357-pkg-pr-new-previews
Open

ci: add per-PR preview publishes via pkg.pr.new (#1357)#1358
jagguji wants to merge 2 commits intojuspay:devfrom
jaggaroshu:feat/1357-pkg-pr-new-previews

Conversation

@jagguji
Copy link
Copy Markdown
Contributor

@jagguji jagguji commented Apr 15, 2026

Wires up pkg.pr.new so every PR to main/dev automatically publishes an ephemeral preview build of @juspay/blend-design-system. Reviewers can install the preview directly from a sticky PR comment, eliminating the need to clone the repo or use yalc just to verify a fix.

Closes #1357

Summary

Issue Ticket

Closes #[issue_number] or Related to #[issue_number]

Wires up pkg.pr.new so every PR to main/dev automatically publishes an
ephemeral preview build of @juspay/blend-design-system. Reviewers can
install the preview directly from a sticky PR comment, eliminating the
need to clone the repo or use yalc just to verify a fix.

Closes juspay#1357

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (dev@d2f1b67). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev    #1358   +/-   ##
======================================
  Coverage       ?   42.51%           
======================================
  Files          ?      385           
  Lines          ?    93910           
  Branches       ?     6145           
======================================
  Hits           ?    39926           
  Misses         ?    53984           
  Partials       ?        0           
Flag Coverage Δ
unittests 42.51% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Empty commit to re-run the Preview Release workflow now that the
pkg.pr.new GitHub App has been installed on juspay/blend-design-system.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@juspay/blend-design-system@1358

commit: c4b8ef2

@@ -0,0 +1,40 @@
name: Preview Release (pkg.pr.new)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(pkg.pr.new) this can be removed as in actions this always visible as this is a tool only

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: node-version-file: '.nvmrc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title: Add per-PR preview publishes via pkg.pr.new (replace yalc for remote reviewers)

3 participants