From 2e50d8f6ee6bd9bf41c4b5eb3e5a27c40251b6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Wed, 17 Jan 2024 12:16:50 +0100 Subject: [PATCH] Build all packages by default --- .github/workflows/ci.yml | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6714e7b20c77d0..24255495324d9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: node-version: 18 cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install - - run: pnpm release:build + - run: pnpm build:ci - run: pnpm release:changelog env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index c3116b63269dc2..fdbeeb5c4bb7ed 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,9 @@ "proptypes": "tsx ./scripts/generateProptypes.ts", "deduplicate": "pnpm dedupe", "benchmark:browser": "pnpm --filter benchmark browser", - "build": "lerna run --scope \"@mui/*\" build", - "build:all": "lerna run build", + "build": "lerna run build --ignore docs", + "build:public": "lerna run --no-private build", + "build:ci": "lerna run build --ignore docs --concurrency 8 --skip-nx-cache", "build:zero": "lerna run --scope \"@mui/zero-*\" build", "clean:zero": "pnpm --filter \"@mui/zero-*\" clean", "build:codesandbox": "NODE_OPTIONS=\"--max_old_space_size=4096\" lerna run --concurrency 8 --scope \"@mui/*\" --scope \"@mui-internal/*\" --no-private build",