Skip to content

Conversation

@tenphi
Copy link
Member

@tenphi tenphi commented Dec 12, 2025

Note

Introduces a reusable publish.yml with npm Trusted Publishing (OIDC) for canary/release, refactors PR and main workflows to use it, updates permissions, and adds publishing docs.

  • CI/CD:
    • Reusable publishing workflow: Add /.github/workflows/publish.yml handling canary and release publishes via npm Trusted Publishing (OIDC), including canary versioning/tagging and PR comments.
    • Main workflow: Simplify /.github/workflows/main.yml to call publish.yml for releases; grants id-token: write; keeps Chromatic deploy conditional on published output.
    • Pull request workflow: Replace inline canary publish with call to publish.yml; updates permissions (incl. id-token: write); retains tests/lint and Storybook (Chromatic) steps with PR comment.
  • Docs:
    • Add /.github/PUBLISHING.md documenting canary/release behavior, Trusted Publishing setup, and troubleshooting.

Written by Cursor Bugbot for commit 2f1cba3. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link

changeset-bot bot commented Dec 12, 2025

⚠️ No Changeset found

Latest commit: 2f1cba3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cube-ui-kit Ready Ready Preview Comment Dec 12, 2025 11:44am
cube-ui-kit-cursor Ready Ready Preview Comment Dec 12, 2025 11:44am

@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2025

🏋️ Size limit report

Name Size Passed?
All 306.79 KB (0% 🟰) Yes 🎉
Tree shaking (just a Button) 42.23 KB (0% 🟰) Yes 🎉
Tree shaking (just an Icon) 20.72 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

@github-actions
Copy link
Contributor

🧪 Storybook is successfully deployed!

@tenphi tenphi merged commit e692f2e into main Dec 12, 2025
14 of 15 checks passed
@tenphi tenphi deleted the fix-github-actions branch December 12, 2025 11:49
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.

2 participants