{ "$schema": "https://turbo.build/schema.json", "globalEnv": ["UNORDERED", "CI"], "pipeline": { "build": { // A workspace's `build` task depends on that workspace's // topological dependencies' and devDependencies' // `build` tasks being completed first. The `^` symbol // indicates an upstream dependency. "dependsOn": ["^build"] }, "test": { // A workspace's `test` task depends on that workspace's // own `build` task being completed first. "dependsOn": ["build"], "outputs": [], // A workspace's `test` task should only be rerun when // either a `.tsx` or `.ts` file has changed. "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] }, "lint": { // A workspace's `lint` task has no dependencies and // can be run whenever. "outputs": [] }, "deploy": { // A workspace's `deploy` task depends on the `build`, // `test`, and `lint` tasks of the same workspace // being completed. "dependsOn": ["build", "test", "lint"], "outputs": [] } } }