From 261094d966e122f4ac53badc98ec7051635f53a8 Mon Sep 17 00:00:00 2001 From: Jose Quintas Date: Wed, 11 Sep 2024 11:59:03 +0200 Subject: [PATCH 1/5] Fix benchmark workflow --- .github/workflows/codspeed.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index e05f761ab302..27318a06a58b 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -45,10 +45,7 @@ jobs: cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install --frozen-lockfile # Ensure we are running on the prod version of our libs - # Only charts and license are needed for the benchmarks - - run: pnpm --filter @mui/x-license build - - run: pnpm --filter @mui/x-charts build - - run: pnpm --filter @mui/x-charts-pro build + - run: pnpm lerna run build - name: Run benchmarks uses: CodSpeedHQ/action@86517f4abbb50982006ed33de6c22a586c7e11a1 with: From 20647fa4ee2b55e9ee38f24ae60914caf1ad8e87 Mon Sep 17 00:00:00 2001 From: Jose Quintas Date: Wed, 11 Sep 2024 12:05:38 +0200 Subject: [PATCH 2/5] Use command --- .github/workflows/codspeed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 27318a06a58b..f6ec626ed9cb 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -45,7 +45,7 @@ jobs: cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install --frozen-lockfile # Ensure we are running on the prod version of our libs - - run: pnpm lerna run build + - run: pnpm build:codesandbox - name: Run benchmarks uses: CodSpeedHQ/action@86517f4abbb50982006ed33de6c22a586c7e11a1 with: From 68ed9f3e9d1d533f2b4d7ef0444907b48b2f01fe Mon Sep 17 00:00:00 2001 From: Jose Quintas Date: Wed, 11 Sep 2024 12:24:51 +0200 Subject: [PATCH 3/5] From b2559a03ff75d09ef71b22dcd96c0f5b30a126bc Mon Sep 17 00:00:00 2001 From: Jose C Quintas Jr Date: Wed, 11 Sep 2024 13:00:52 +0200 Subject: [PATCH 4/5] Update .github/workflows/codspeed.yml Co-authored-by: Lukas Tyla Signed-off-by: Jose C Quintas Jr --- .github/workflows/codspeed.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index f6ec626ed9cb..c7fdd3ba1d8f 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -45,7 +45,10 @@ jobs: cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install --frozen-lockfile # Ensure we are running on the prod version of our libs - - run: pnpm build:codesandbox + - run: pnmp --filter @mui/x-internals build + - run: pnpm --filter @mui/x-license build + - run: pnpm --filter @mui/x-charts build + - run: pnpm --filter @mui/x-charts-pro build - name: Run benchmarks uses: CodSpeedHQ/action@86517f4abbb50982006ed33de6c22a586c7e11a1 with: From 49f76a36744a29ef6e85fa76c195000331b433c6 Mon Sep 17 00:00:00 2001 From: Jose C Quintas Jr Date: Wed, 11 Sep 2024 13:07:38 +0200 Subject: [PATCH 5/5] Update .github/workflows/codspeed.yml Signed-off-by: Jose C Quintas Jr --- .github/workflows/codspeed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index c7fdd3ba1d8f..2311d7eb030e 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -45,7 +45,7 @@ jobs: cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies - run: pnpm install --frozen-lockfile # Ensure we are running on the prod version of our libs - - run: pnmp --filter @mui/x-internals build + - run: pnpm --filter @mui/x-internals build - run: pnpm --filter @mui/x-license build - run: pnpm --filter @mui/x-charts build - run: pnpm --filter @mui/x-charts-pro build