Skip to content

[code-infra] Align pkg.pr.new with other projects #46467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Aug 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions .codesandbox/ci.json

This file was deleted.

22 changes: 4 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,10 @@ permissions: {}

jobs:
continuous-releases:
runs-on: ubuntu-latest
# do not run on forks
if: github.repository == 'mui/material-ui'
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: Use Node.js 20.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.19.4
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
- run: pnpm install:codesandbox
- run: pnpm build:codesandbox
- run: pnpm pkg-pr-new-release
name: Continuous Releases
uses: mui/mui-public/.github/workflows/ci-base.yml@master
with:
node-version: '22'

# Tests dev-only scripts across all supported dev environments
test-dev:
Expand Down
2 changes: 1 addition & 1 deletion examples/material-ui-vite-tailwind-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "material-ui-vite-ts",
"name": "material-ui-vite-tailwind-ts",
"private": true,
"version": "7.0.0",
"type": "module",
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"build:ci": "lerna run build --ignore docs --ignore @app/pigment-css-next-app --concurrency 8 --skip-nx-cache",
"build:public": "lerna run --no-private build",
"build:public:ci": "lerna run --no-private build --concurrency 8 --skip-nx-cache",
"build:codesandbox": "NODE_OPTIONS=\"--max_old_space_size=4096\" lerna run --concurrency 8 --scope \"@mui/*\" --scope \"@mui-internal/*\" --no-private build",
"pkg-pr-new-packages": "node -e \"console.log(Object.values(require('./.codesandbox/ci.json').publishDirectory).join(' '))\"",
"pkg-pr-new-release": "pnpm dlx pkg-pr-new publish $(pnpm -s pkg-pr-new-packages) --template './examples/*' --comment=off --peerDeps",
"release:version": "lerna version --no-changelog --no-push --no-git-tag-version --no-private --force-publish=@mui/core-downloads-tracker",
"release:build": "lerna run --concurrency 8 --no-private build --skip-nx-cache",
"release:changelog": "node scripts/releaseChangelog.mjs",
Expand Down Expand Up @@ -42,7 +39,6 @@
"docs:zipRules": "cd docs && rm mui-vale.zip && zip -r mui-vale.zip mui-vale && cd ../ && pnpm vale sync",
"extract-error-codes": "cross-env MUI_EXTRACT_ERROR_CODES=true lerna run --concurrency 1 build:stable",
"template:screenshot": "cross-env BABEL_ENV=development babel-node --extensions \".tsx,.ts,.js\" ./docs/scripts/generateTemplateScreenshots",
"install:codesandbox": "pnpm install --no-frozen-lockfile",
"jsonlint": "code-infra jsonlint",
"eslint": "eslint . --cache --report-unused-disable-directives --ext .js,.ts,.tsx --max-warnings 0",
"eslint:ci": "eslint . --report-unused-disable-directives --ext .js,.ts,.tsx --max-warnings 0",
Expand Down
7 changes: 2 additions & 5 deletions packages/mui-core-downloads-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@
"url": "https://opencollective.com/mui-org"
},
"scripts": {
"build": "code-infra copy-files package.json",
"prebuild": "rimraf build",
"release": "pnpm build && pnpm publish"
"release": "pnpm publish"
},
"publishConfig": {
"access": "public",
"directory": "build"
"access": "public"
}
}
Loading
Loading