From 9672949f82019954457c0983bb2899c047c3a8ca Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Mon, 10 Feb 2025 16:14:37 -0500 Subject: [PATCH] chore(repo): optimize assignment rules --- .nx/workflows/dynamic-changesets.yaml | 18 +++++++++++------- .prettierignore | 3 ++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.nx/workflows/dynamic-changesets.yaml b/.nx/workflows/dynamic-changesets.yaml index b2d8412008..19da384976 100644 --- a/.nx/workflows/dynamic-changesets.yaml +++ b/.nx/workflows/dynamic-changesets.yaml @@ -1,10 +1,14 @@ distribute-on: default: auto linux-medium, 1 linux-extra-large assignment-rules: - - project: nx-dev - target: build-base - runs-on: - - linux-extra-large - - target: test - runs-on: - - linux-medium + - projects: + - nx-dev + targets: + - build* + run-on: + - agent: linux-extra-large + + - targets: + - '*' + run-on: + - agent: linux-medium \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 067ee6dc07..1016408800 100644 --- a/.prettierignore +++ b/.prettierignore @@ -46,4 +46,5 @@ CODEOWNERS .pnpm-store -/.nx/workspace-data \ No newline at end of file +/.nx/workspace-data +/.nx/workflows/dynamic-changesets.yaml \ No newline at end of file