Skip to content

Commit 11fdd5d

Browse files
committed
fix: add workflow envs to turbo config
1 parent 7cd19bf commit 11fdd5d

File tree

1 file changed

+83
-117
lines changed

1 file changed

+83
-117
lines changed

turbo.json

Lines changed: 83 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,85 @@
11
{
2-
"$schema": "https://turborepo.org/schema.json",
3-
"globalPassThroughEnv": ["GITHUB_TOKEN", "GH_PAT", "GH_USERNAME", "GH_EMAIL", "GH_NAME", "CPAPI_PASS", "CPAPI_URL", "CPAPI_USER", "CPAPI_USER_OPENID", "MX_PROJECT_PATH"],
4-
"globalDependencies": [
5-
"automation/**",
6-
".npmrc",
7-
".nvmrc",
8-
".github/**",
9-
"package.json"
10-
],
11-
"tasks": {
12-
"update-changelog": {
13-
"cache": false
14-
},
15-
"verify": {
16-
"inputs": [
17-
"package.json",
18-
"**/package.xml"
19-
]
20-
},
21-
"build": {
22-
"dependsOn": [
23-
"^build"
24-
],
25-
"outputs": [
26-
"dist/**",
27-
"!dist/tmp/**"
28-
]
29-
},
30-
"release": {
31-
"dependsOn": [
32-
"build",
33-
"^build",
34-
"verify"
35-
],
36-
"outputs": [
37-
"dist/**",
38-
"!dist/tmp/**"
39-
]
40-
},
41-
"build:module": {
42-
"dependsOn": [
43-
"^build"
44-
],
45-
"outputs": []
46-
},
47-
"release:module": {
48-
"cache": false,
49-
"dependsOn": [
50-
"^release",
51-
"verify"
52-
]
53-
},
54-
"push-update": {
55-
"cache": false,
56-
"dependsOn": [
57-
"release:module"
58-
]
59-
},
60-
"test": {
61-
"outputs": [],
62-
"inputs": [
63-
"src/**",
64-
"typings/**",
65-
"package.json",
66-
"tsconfig.json"
67-
],
68-
"dependsOn": [
69-
"^build"
70-
]
71-
},
72-
"lint": {
73-
"dependsOn": [
74-
"^build"
75-
],
76-
"outputs": []
77-
},
78-
"create-gh-release": {
79-
"cache": false,
80-
"dependsOn": [
81-
"release",
82-
"release:module",
83-
"push-update",
84-
"verify"
85-
]
86-
},
87-
"create-translation": {
88-
"cache": false,
89-
"outputs": [],
90-
"inputs": [
91-
"src/**/*.xml",
92-
"!src/**/package.xml"
93-
]
94-
},
95-
"publish-marketplace": {
96-
"cache": false
97-
},
98-
"e2e": {
99-
"inputs": [
100-
"assets/**",
101-
"src/**",
102-
"cypress/**",
103-
"cypress-visual-screenshots/**",
104-
"cypress.config.*",
105-
"package.json",
106-
"!src/*.{editorConfig,editorPreview,icon,tile,xml}*",
107-
"!*/**/__tests__/**"
108-
],
109-
"outputs": []
110-
},
111-
"agent-rules": {
112-
"cache": false,
113-
"inputs": [
114-
"docs/requirements/**"
115-
],
116-
"outputs": []
2+
"$schema": "https://turborepo.org/schema.json",
3+
"globalPassThroughEnv": [
4+
"GITHUB_TOKEN",
5+
"GH_PAT",
6+
"GH_USERNAME",
7+
"GH_EMAIL",
8+
"GH_NAME",
9+
"CPAPI_PASS",
10+
"CPAPI_URL",
11+
"CPAPI_USER",
12+
"CPAPI_USER_OPENID",
13+
"MX_PROJECT_PATH",
14+
"TAG",
15+
"PACKAGE"
16+
],
17+
"globalDependencies": ["automation/**", ".npmrc", ".nvmrc", ".github/**", "package.json"],
18+
"tasks": {
19+
"update-changelog": {
20+
"cache": false
21+
},
22+
"verify": {
23+
"inputs": ["package.json", "**/package.xml"]
24+
},
25+
"build": {
26+
"dependsOn": ["^build"],
27+
"outputs": ["dist/**", "!dist/tmp/**"]
28+
},
29+
"release": {
30+
"dependsOn": ["build", "^build", "verify"],
31+
"outputs": ["dist/**", "!dist/tmp/**"]
32+
},
33+
"build:module": {
34+
"dependsOn": ["^build"],
35+
"outputs": []
36+
},
37+
"release:module": {
38+
"cache": false,
39+
"dependsOn": ["^release", "verify"]
40+
},
41+
"push-update": {
42+
"cache": false,
43+
"dependsOn": ["release:module"]
44+
},
45+
"test": {
46+
"outputs": [],
47+
"inputs": ["src/**", "typings/**", "package.json", "tsconfig.json"],
48+
"dependsOn": ["^build"]
49+
},
50+
"lint": {
51+
"dependsOn": ["^build"],
52+
"outputs": []
53+
},
54+
"create-gh-release": {
55+
"cache": false,
56+
"dependsOn": ["release", "release:module", "push-update", "verify"]
57+
},
58+
"create-translation": {
59+
"cache": false,
60+
"outputs": [],
61+
"inputs": ["src/**/*.xml", "!src/**/package.xml"]
62+
},
63+
"publish-marketplace": {
64+
"cache": false
65+
},
66+
"e2e": {
67+
"inputs": [
68+
"assets/**",
69+
"src/**",
70+
"cypress/**",
71+
"cypress-visual-screenshots/**",
72+
"cypress.config.*",
73+
"package.json",
74+
"!src/*.{editorConfig,editorPreview,icon,tile,xml}*",
75+
"!*/**/__tests__/**"
76+
],
77+
"outputs": []
78+
},
79+
"agent-rules": {
80+
"cache": false,
81+
"inputs": ["docs/requirements/**"],
82+
"outputs": []
83+
}
11784
}
118-
}
119-
}
85+
}

0 commit comments

Comments
 (0)