planningcenter / pco-release-action

Github Actions for streamlining the release process for apps that use Github releases
0 stars 0 forks source link

fix: improve reliability of version comparisons #30

Open kylemellander opened 3 days ago

kylemellander commented 3 days ago

Version comparisons were failing for various reasons. First, it was occurring because the package name was not getting instantiated at the right time. Also, yarn 3 lock files were not properly searched.

This PR adds tests surrounding VersionCompare to make sure that the code is reliable. In doing this, there are some example lock files which are made as fixtures.