Skip to content

[code-infra] Setup workflow to auto publish internal packages#47952

Open
brijeshb42 wants to merge 1 commit intomui:masterfrom
brijeshb42:canary-publish
Open

[code-infra] Setup workflow to auto publish internal packages#47952
brijeshb42 wants to merge 1 commit intomui:masterfrom
brijeshb42:canary-publish

Conversation

@brijeshb42
Copy link
Contributor

@brijeshb42 brijeshb42 commented Mar 11, 2026

whenever a new commit lands in master.

@brijeshb42 brijeshb42 requested a review from a team March 11, 2026 17:02
@brijeshb42 brijeshb42 added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Mar 11, 2026
@mui-bot
Copy link

mui-bot commented Mar 11, 2026

Netlify deploy preview

https://deploy-preview-47952--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 96c38da

pnpm code-infra publish-canary --package @mui/internal-markdown @mui/docs @mui/internal-scripts @mui-internal/api-docs-builder @mui/internal-docs-utils

publish:
if: github.event_name == 'workflow_dispatch'
Copy link
Member

Choose a reason for hiding this comment

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

What if we want to use workflow_dispatch to test the canary publishing?

Copy link
Contributor Author

@brijeshb42 brijeshb42 Mar 11, 2026

Choose a reason for hiding this comment

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

you mean for the new job publish-internal ? I can add the workflow_dispatch check there as well if desired. I don't see the need.
As soon as this PR gets merged, it'll trigger a publish anyways and can be tested there. And you cannot trigger manually from a branch anyways for testing.

I have explicitly kept workflow_dispatch check in the previous publish job since I also added the on.push.branches trigger.

Copy link
Member

Choose a reason for hiding this comment

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

I believe with workflow_dispatch it's possible to test a change in a PR without merging first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm. Seems for that this needs to exist first in the main branch then we can trigger for next PR. I'll add the check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

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

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants