yarn workspaces foreach
doesn't work with Github Actions, how should the problem be raised?
#2650
-
This foreach command normally executes a number of tests in the mono repo. When running on Github Actons, only one test runs:
Searching Google and Github issues for people with similiar issues has not yielded results. However, the yarn mono repo uses Github actions and does not use Everything works well for me locally (on MacOS, the GH Actions are running on Ubuntu) so I am unsure how to raise the issue. It's not clear to me if this is a problem with yarn workspace-tools source code or more of an integration issue with GH actions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I were to guess your CI is using Node 15 and you're not. There is a bug with Node 15 and Yarn that is fixed in https://yarnpkg.com/cli/set/version/from/sources |
Beta Was this translation helpful? Give feedback.
If I were to guess your CI is using Node 15 and you're not. There is a bug with Node 15 and Yarn that is fixed in
master
so you can tryyarn set version from sources
, make sure to import any plugins you use from sources as well.https://yarnpkg.com/cli/set/version/from/sources
https://yarnpkg.com/cli/plugin/import/from/sources