Skip to content

Does not seem to work with yarn workspaces #224

@aaronjensen

Description

@aaronjensen

I use yarn workspaces and greenkeeper-lockfile@2. A dependency was updated on one of the packages in the repo (the main package.json was not changed).

When running update, I see this:

Switched to branch 'greenkeeper/default/serverless-1.37.0'
package.json: No dependency changed
functions/package.json: Without either an "npm-shrinkwrap.json", "package-lock.json" or "yarn.lock" file present there is no need to run this script

The functions package.json changed, but its yarn.lock is in the root because that's how yarn workspaces work.

Then, when running upload, I saw this:

Only uploading on one build job

Which doesn't actually mean anything to me. Is that a bad thing? Did it upload my lockfile or not? I'm not seeing it in the branch, but I don't know if that's because my build failed (due to an intermittently failing test).

Does greenkeeper-lockfile actually work with workspaces and just have misleading output and not work when the build fails, or is it actually broken in this scenario?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions