Add .yarn/releases to Node.gitignore. When using yarn set version <version> as outlined on <https://yarnpkg.com/cli/set/version> in your git repo you end up with .yarn/releases/yarn-*.cjs that should not be commited to git.