-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The action regenerates the yarn.lock file and commit it to VCS #252
Comments
I would appreciate if you could do a PR for that 🙂 |
have you tried this: actions/setup-node#904 (comment)
|
Made some simples changes to remove this lock files. Until the PR is merged or someone makes a better commit, you can just use my fork (felpsio/gh-action-bump-version) |
have you tried setting another yarn version? #252 (comment) |
I'm currently using yarn 3.2 with workspaces. And was still getting the lockfile problem. |
Hi, I have the same problem. I have a workspace with Yarn 1.22.22. I tried using |
@gamalielmendez weird, I've been able to use my version in prod without problems. Have you checked if the change in |
It is modifying the package URLs to some from npm. thanks for responding @felpsio |
gamalielmendez your problem seems to be related to yarn/npm problem. If you notice, the action is running You probably have both anyway... if this doesn't work you probably investigate if there is any relation with npm/yarn. |
found some problems with my early code and fixed. If anyone else needs to use it, may work better now. the branch is quite messy while I was testing. So I made my PR a draft one so it won't mess with the current branch story. But it may help with inspiration to solve the problem at the official branch now. |
Hello there! Long story short. I use Yarn 4, monorepo, and Yarn Workspaces to manage a handful of web projects in a single code base. Every time this action runs, it updates the package.json file and regenerates the yarn.lock file using Yarn 1 specification (instead of my project's Yarn 4) and commit the changes back to the version control. This is an unwanted side-effect that breaks parts of my code. I'd like to see this action commit only necessary files and avoid touching anything else. Is that possible? Thanks.
The text was updated successfully, but these errors were encountered: