Closed mcmire closed 3 months ago
Looks like corepack support is still pending in @actions/setup-node
: https://github.com/actions/setup-node/pull/901
Devs will still need to run corepack enable
locally but other than that it seems like we can hack around it like #244 .
I kind of dislike the hacks we have to do here. It makes the GitHub workflow files longer and more complicated than they need to be.
Agreed. I still find it less ugly and less objectively bad than redundantly checking in the entire minified yarn cjs file without additional integrity-checking in every repo...
Yeah, that's true. Okay, I'm convinced. ✅
@mcmire ping
According to the Yarn documentation, Yarn no longer needs to be bundled with a project, but rather, installing Yarn ought to be done using Corepack, which is shipped in modern Node versions. This commit removes the Yarn binary from the repo and updates the installation instructions in the README to match.
Examples
(None)