diff --git a/nx.json b/nx.json index 2c273e35a623..09dc5f85ab62 100644 --- a/nx.json +++ b/nx.json @@ -95,7 +95,7 @@ "targetDefaults": { "build": { "dependsOn": ["^build"], - "inputs": ["production", "^production"] + "inputs": ["production", "^production", "DevOps"] }, "e2e": { "inputs": ["default", "^production"] @@ -152,6 +152,16 @@ "runtime": "node --version" } ], + "DevOps": ["CI", "Dockerfiles", "{workspaceRoot}/scripts/**/*"], + "CI": [ + "{workspaceRoot}/.github/actions/", + "{workspaceRoot}/.github/workflows/", + "{workspaceRoot}/**/.dockerignore" + ], + "Dockerfiles": [ + "{workspaceRoot}/**/Dockerfile", + "{workspaceRoot}/**/Dockerfile.*" + ], "sharedGlobals": [ "{workspaceRoot}/eslint-local-rules.js", "{workspaceRoot}/nx.json",