n8n/turbo.json
n8n-cat-bot[bot] 2868fb2050
ci: Disable turbo cache on test:changed tasks (#31233)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Declan Carroll <declan@n8n.io>
2026-05-27 21:21:19 +00:00

75 lines
1.9 KiB
JSON

{
"globalEnv": ["CI", "BUILD_WITH_COVERAGE"],
"globalPassThroughEnv": ["CODECOV_TOKEN", "COVERAGE_ENABLED", "SENTRY_AUTH_TOKEN"],
"tasks": {
"clean": { "cache": false },
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"n8n-editor-ui#build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"],
"env": ["RELEASE"]
},
"typecheck": {
"dependsOn": ["^typecheck", "^build"]
},
"format": {},
"format:check": {},
"lint": {
"dependsOn": ["^build", "@n8n/eslint-config#build"]
},
"lint:fix": {},
"lint:styles": {
"dependsOn": ["@n8n/stylelint-config#build"]
},
"lint:styles:fix": {
"dependsOn": ["@n8n/stylelint-config#build"]
},
"test": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"n8n-nodes-base#test": {
"inputs": ["$TURBO_DEFAULT$", "../cli/src/public-api/v1/**/*.yml"]
},
"n8n-nodes-base#test:changed": {
"dependsOn": ["^build", "build"],
"inputs": ["$TURBO_DEFAULT$", "../cli/src/public-api/v1/**/*.yml"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED", "CHANGED_FILES"],
"cache": false
},
"test:changed": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED", "CHANGED_FILES"],
"cache": false
},
"test:unit": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"test:integration": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**", "*.xml"],
"env": ["COVERAGE_ENABLED"]
},
"watch": { "cache": false, "persistent": true },
"dev": { "cache": false, "persistent": true },
"install-browsers": {
"cache": true,
"inputs": [".playwright-version"],
"outputs": [".playwright-browsers/**"],
"env": ["PLAYWRIGHT_BROWSERS_PATH"]
},
"test:container:standard": {
"env": ["E2E_TESTS"],
"cache": false
}
}
}