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.
A recent PR modified the
prepare
script to useshx
for Windows interoperability. Theprepare
script is special in that npm always runs it beforenpm 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.