destinygg / chat-gui

Destiny.gg chat front-end
Other
49 stars 57 forks source link

Fix error when publishing new version #564

Closed 11k closed 2 weeks ago

11k commented 2 weeks ago

A recent PR modified the prepare script to use shx for Windows interoperability. The prepare script is special in that npm always runs it before npm publish. This resulted in an error during the execution of our "bump and release" workflow because the workflow doesn't install any Node dependencies.

Simply installing Node dependencies in the workflow fixes the issue. This has the added benefit of catching any last-second formatting or linter errors that slipped through the cracks.