samuelmeuli / action-electron-builder

:electron: GitHub Action for building and releasing Electron apps
MIT License
670 stars 206 forks source link

Add option override if yarn / npm is used #69

Closed hrueger closed 3 years ago

hrueger commented 3 years ago

I have a strange bug with electron-builder. If it is started with npm or npx, it just freezes at some point. However, when started with yarn, it works fine. So I'd like to tell the action to definitely use yarn, even if the package-lock.json file exists. Is that possible?

My current workaround is to rename the package-lock.json file to something else before running this action, but that's not very practicable.

scope2229 commented 3 years ago

You need to pick between Yarn and NPM, don't use both. It can cause some annoying issues.

hrueger commented 3 years ago

OK, I understand that it is quite a weird feature that I'm requesting. So never mind, for me it works that way.