mirror of
https://github.com/n8n-io/n8n.git
synced 2025-12-05 19:27:26 -06:00
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"globalEnv": ["CI", "COVERAGE_ENABLED"],
|
|
"tasks": {
|
|
"clean": { "cache": false },
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"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"]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": ["^build", "build"],
|
|
"outputs": ["coverage/**", "*.xml"]
|
|
},
|
|
"test:integration": {
|
|
"dependsOn": ["^build", "build"],
|
|
"outputs": ["coverage/**", "*.xml"]
|
|
},
|
|
"watch": { "cache": false, "persistent": true },
|
|
"dev": { "cache": false, "persistent": true },
|
|
"build:playwright": {
|
|
"dependsOn": ["install-browsers:ci", "build"]
|
|
},
|
|
"install-browsers:ci": {
|
|
"cache": true,
|
|
"inputs": ["package.json"],
|
|
"outputs": ["ms-playwright-cache/**"],
|
|
"env": ["PLAYWRIGHT_BROWSERS_PATH"]
|
|
},
|
|
"install-browsers:local": {
|
|
"cache": false,
|
|
"inputs": ["package.json"]
|
|
},
|
|
"test:container:standard": {
|
|
"dependsOn": ["install-browsers:local"],
|
|
"env": ["E2E_TESTS"],
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|