diff --git a/turbo.json b/turbo.json index 1341f6c..efda130 100644 --- a/turbo.json +++ b/turbo.json @@ -1,31 +1,56 @@ { "$schema": "https://turbo.build/schema.json", - "pipeline": { + "tasks": { "build": { - "dependsOn": ["^build"], - "outputs": ["dist/**"] + "dependsOn": [ + "^build" + ], + "outputs": [ + "dist/**" + ] }, "lint": { "outputs": [] }, "dev": { "cache": false, - "dependsOn": ["^dev"] + "dependsOn": [ + "^dev" + ] }, "test": { "outputs": [], - "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] + "inputs": [ + "src/**/*.tsx", + "src/**/*.ts", + "test/**/*.ts", + "test/**/*.tsx" + ] }, "test-ci": { + "env": [ + "CIRCLE_*" + ], "outputs": [], - "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] + "inputs": [ + "src/**/*.tsx", + "src/**/*.ts", + "test/**/*.ts", + "test/**/*.tsx" + ] }, "deploy": { - "dependsOn": ["build", "test", "lint"], + "dependsOn": [ + "build", + "test", + "lint" + ], "outputs": [] }, "@openfun/cunningham-tokens#test": { - "dependsOn": ["build"] + "dependsOn": [ + "build" + ] } } }