mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
ci: Reuse common build actions and fix turbo outputs (no-changelog) (#15830)
This commit is contained in:
28
turbo.json
28
turbo.json
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"ui": "stream",
|
||||
"remoteCache": {
|
||||
"enabled": true,
|
||||
"timeout": 90,
|
||||
"uploadTimeout": 90
|
||||
},
|
||||
"globalEnv": ["CI", "COVERAGE_ENABLED"],
|
||||
"tasks": {
|
||||
"clean": {
|
||||
@@ -26,6 +31,7 @@
|
||||
"format:check": {},
|
||||
"lint:backend": {
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"@n8n/api-types#lint",
|
||||
"@n8n/config#lint",
|
||||
"@n8n/decorators#lint",
|
||||
@@ -46,6 +52,7 @@
|
||||
},
|
||||
"lint:frontend": {
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"@n8n/chat#lint",
|
||||
"@n8n/codemirror-lang#lint",
|
||||
"@n8n/storybook#lint",
|
||||
@@ -57,12 +64,15 @@
|
||||
},
|
||||
"lint:nodes": {
|
||||
"dependsOn": [
|
||||
"^build",
|
||||
"n8n-nodes-base#lint",
|
||||
"@n8n/n8n-nodes-langchain#lint",
|
||||
"@n8n/json-schema-to-zod#lint"
|
||||
]
|
||||
},
|
||||
"lint": {},
|
||||
"lint": {
|
||||
"dependsOn": ["^build"]
|
||||
},
|
||||
"lintfix": {},
|
||||
"test:backend": {
|
||||
"dependsOn": [
|
||||
@@ -79,8 +89,8 @@
|
||||
"n8n-core#test",
|
||||
"n8n#test"
|
||||
],
|
||||
"outputs": ["coverage/**"],
|
||||
"inputs": ["jest.config.js"]
|
||||
"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
|
||||
"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
|
||||
},
|
||||
"test:frontend": {
|
||||
"dependsOn": [
|
||||
@@ -90,8 +100,8 @@
|
||||
"@n8n/design-system#test",
|
||||
"n8n-editor-ui#test"
|
||||
],
|
||||
"outputs": ["coverage/**"],
|
||||
"inputs": ["jest.config.js"]
|
||||
"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
|
||||
"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
|
||||
},
|
||||
"test:nodes": {
|
||||
"dependsOn": [
|
||||
@@ -99,10 +109,12 @@
|
||||
"@n8n/n8n-nodes-langchain#test",
|
||||
"@n8n/json-schema-to-zod#test"
|
||||
],
|
||||
"outputs": ["coverage/**"],
|
||||
"inputs": ["jest.config.js"]
|
||||
"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"],
|
||||
"inputs": ["jest.config.*", "package.json", "pnpm-lock.yaml"]
|
||||
},
|
||||
"test": {
|
||||
"outputs": ["coverage/**", "junit.xml", "cobertura-coverage.xml"]
|
||||
},
|
||||
"test": {},
|
||||
"watch": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
|
||||
Reference in New Issue
Block a user