Skip to content

Commit 629e6f9

Browse files
committed
single source of truth
1 parent f25da14 commit 629e6f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- run: npm install -g npm@latest
3333
- run: pnpm install:codesandbox
3434
- run: pnpm build:codesandbox
35-
- run: pnpm dlx pkg-pr-new publish 'packages/mui-{base,codemod,core-downloads-tracker,docs,icons-material,lab,material-nextjs,material,material-pigment-css,private-theming,styled-engine,styled-engine-sc,styles,system,types,utils}/build' 'packages-internal/{test-utils,docs-utils,scripts}' 'packages/{mui-babel-macros,markdown}' --template './examples/*' --comment=off --peerDeps
35+
- run: pnpm pkg-pr-new-publish
3636

3737
# Tests dev-only scripts across all supported dev environments
3838
test-dev:

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"build:public": "lerna run --no-private build",
1313
"build:public:ci": "lerna run --no-private build --concurrency 8 --skip-nx-cache",
1414
"build:codesandbox": "NODE_OPTIONS=\"--max_old_space_size=4096\" lerna run --concurrency 8 --scope \"@mui/*\" --scope \"@mui-internal/*\" --no-private build",
15+
"pkg-pr-new-packages": "node -e \"console.log(Object.values(require('./.codesandbox/ci.json').publishDirectory).join(' '))\"",
16+
"pkg-pr-new-release": "pnpm dlx pkg-pr-new publish $(pnpm -s pkg-pr-new-packages) --template './examples/*' --comment=off --peerDeps",
1517
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private --force-publish=@mui/core-downloads-tracker",
1618
"release:build": "lerna run --concurrency 8 --no-private build --skip-nx-cache",
1719
"release:changelog": "node scripts/releaseChangelog.mjs",

0 commit comments

Comments
 (0)