这是indexloc提供的服务,不要输入任何密码
Skip to content

Pipeline task runs but its dependsOn tasks are ignored #135

@oedotme

Description

@oedotme

What version of Turbrepo are you using?

0.8.5 - 1.0.1

Describe the Bug

Pipeline task runs while its dependsOn tasks stopped working from version 0.8.5 and higher.

Working as expected in 0.8.4

Expected Behavior

The defined dependsOn tasks list should run before the main pipeline task runs.

To Reproduce

Environment

  • Linux
  • Node 17.1.0
  • NPM 8.1.3

Config

  • NPM workspaces
  "workspaces": [
    "apps/*",
    "libs/*"
  ],
  • Turbo
  "turbo": {
    "bashBranch": "origin/main",
    "pipeline": {
      "dev": {
        "cache": false
      },
      "lint": {},
      "test": {
        "dependsOn": [
          "lint"
        ]
      },
      "build": {
        "dependsOn": [
          "lint",
          "test"
        ],
        "outputs": [
          "build/**",
          "dist/**",
          ".next/**",
          "!.next/cache/**"
        ]
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions