diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 062bd8c6fec222..3d54aea4b42801 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -82,6 +82,22 @@ jobs: - template: .devops/templates/cleanup.yml + - job: NX_Affected + workspace: + clean: all + steps: + - template: .devops/templates/tools.yml + + - script: | + yarn install + displayName: yarn + + - script: | + yarn nx affected --targets=build,test,lint,type-check --parallel=8 --base=$(targetBranch) + displayName: build, test, lint, type-check + + - template: .devops/templates/cleanup.yml + - job: Nx_Tests workspace: clean: all