From 4a02c95b4ae60fa9f72e051cd27c45c28f1d4df2 Mon Sep 17 00:00:00 2001 From: Thomas Schaffter Date: Tue, 7 Nov 2023 15:42:54 -0800 Subject: [PATCH] Replace `run-many` by `affected` (#2337) --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03aa5cc5c5..8ff23b817a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -237,22 +237,22 @@ jobs: - name: Lint the affected projects run: | devcontainer exec --workspace-folder ../sage-monorepo bash -c ". ./dev-env.sh \ - && nx run-many --target=lint" + && nx affected --target=lint" - name: Build the affected projects run: | devcontainer exec --workspace-folder ../sage-monorepo bash -c ". ./dev-env.sh \ - && nx run-many --target=build,server" + && nx affected --target=build,server" - name: Test the affected projects (unit) run: | devcontainer exec --workspace-folder ../sage-monorepo bash -c ". ./dev-env.sh \ - && nx run-many --target=test" + && nx affected --target=test" - name: Test the affected projects (integration) run: | devcontainer exec --workspace-folder ../sage-monorepo bash -c ". ./dev-env.sh \ - && nx run-many --target=integration-test" + && nx affected --target=integration-test" - name: Building the images of the SELECTED projects run: |