Currently the test job seems to hit the maximum CPU resource available. In order to prevent that we try to run tests on several workers.
52 lines
839 B
JSON
52 lines
839 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"pipeline": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"lint": {
|
|
"outputs": []
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"^dev"
|
|
]
|
|
},
|
|
"test": {
|
|
"outputs": [],
|
|
"inputs": [
|
|
"src/**/*.tsx",
|
|
"src/**/*.ts",
|
|
"test/**/*.ts",
|
|
"test/**/*.tsx"
|
|
]
|
|
},
|
|
"test-ci": {
|
|
"outputs": [],
|
|
"inputs": [
|
|
"src/**/*.tsx",
|
|
"src/**/*.ts",
|
|
"test/**/*.ts",
|
|
"test/**/*.tsx"
|
|
]
|
|
},
|
|
"deploy": {
|
|
"dependsOn": [
|
|
"build",
|
|
"test",
|
|
"lint"
|
|
],
|
|
"outputs": []
|
|
},
|
|
"@openfun/cunningham-tokens#test": {
|
|
"dependsOn": ["build"]
|
|
}
|
|
}
|
|
}
|