You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will need to check the version of yarn and use the appropriate commands for the yarn version. Either that, or change the yarn argument from a boolean to a number or string to represent the version.
It looks like a workaround for this is to pass dependencies: false to vsce: microsoft/vscode-vsce#439
This bypasses the yarn list check which is fine for yarn v2+ with pnp (no node_modules). I propose we add an option to this action like dependencies: boolean, similar to vsce.
sdankel
changed the title
Doesn't work with yarn version 3
Doesn't work with yarn version 2+ with pnp
Jan 24, 2023
Description
It fails at
yarn list --prod --json
, because yarn 2 and 3 don't haveyarn list
This is preventing users from being able to upgrade to newer versions of yarn while using this action.
I see this is a problem in the underlying vsce package as well. microsoft/vscode-vsce#517
Expected Behavior
It will need to check the version of yarn and use the appropriate commands for the yarn version. Either that, or change the
yarn
argument from a boolean to a number or string to represent the version.Actual Behavior
It fails, example
Steps to Reproduce
The text was updated successfully, but these errors were encountered: