Skip to content

Commit 3935354

Browse files
Brijesh Bittubrijeshb42
authored andcommitted
[infra] Use CI action from mui-public
1 parent a75cc83 commit 3935354

4 files changed

Lines changed: 11 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,7 @@ permissions: {}
1212

1313
jobs:
1414
continuous-releases:
15-
runs-on: ubuntu-latest
16-
# do not run on forks
17-
if: github.repository == 'mui/mui-x'
18-
steps:
19-
- run: echo "${{ github.actor }}"
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21-
with:
22-
fetch-depth: 0
23-
- name: Set up pnpm
24-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
25-
- name: Use Node.js 22.x
26-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27-
with:
28-
node-version: 22
29-
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
30-
- run: pnpm pkg-pr-new:install
31-
- run: pnpm pkg-pr-new:build
32-
- run: pnpm pkg-pr-new:release
15+
name: Continuous Releases
16+
uses: mui/mui-public/.github/workflows/ci-base.yml@ci-update
17+
with:
18+
node-version: '22'

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
"use-react-version": "node scripts/useReactVersion.mjs",
5151
"use-material-ui-v6": "node scripts/useMaterialUIv6.mjs",
5252
"use-material-ui-next": "node scripts/useMaterialUINext.mjs",
53-
"pkg-pr-new:install": "pnpm install --no-frozen-lockfile",
54-
"pkg-pr-new:build": "pnpm run release:build",
55-
"pkg-pr-new:packages": "tsx ./scripts/printPkgPrNewPublishDirs.mts",
56-
"pkg-pr-new:release": "pnpm dlx pkg-pr-new publish $(pnpm -s pkg-pr-new:packages) --pnpm --packageManager=pnpm --template './examples/*' --comment=off --peerDeps",
5753
"release:changelog": "node scripts/releaseChangelog.mjs",
5854
"release:version": "lerna version --exact --no-changelog --no-push --no-git-tag-version --no-private",
5955
"release:build": "lerna run --scope '@mui/*' build",
@@ -95,7 +91,7 @@
9591
"@mui/internal-markdown": "^2.0.6",
9692
"@mui/internal-test-utils": "catalog:",
9793
"@mui/material": "catalog:",
98-
"@mui/monorepo": "github:mui/material-ui#cf0940b0353d7edf05ba5b67af4441fc16216e7e",
94+
"@mui/monorepo": "github:mui/material-ui#58c70cd928667fbfa5711fcabf9ccfb545d5ed09",
9995
"@mui/utils": "catalog:",
10096
"@next/eslint-plugin-next": "15.4.2",
10197
"@octokit/plugin-retry": "^8.0.1",

packages/x-codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"typescript": "tsc -p tsconfig.json",
1717
"prebuild": "rimraf build",
18-
"copy-files": "cpy README.md build && cpy package.json build",
18+
"copy-files": "node ../../scripts/copyFiles.mjs",
1919
"build": "node ../../scripts/build.mjs node --babel-ignore 'src/types.ts' && pnpm copy-files"
2020
},
2121
"repository": {

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)