When we have an open source project, it is important to set up a continuous integration pipeline that has two roles:
- To check the code changes that were proposed during a pull request that was opened by a contributor to the project. This verification will allow the code to be compiled and the unit tests from the pull request to be performed. The advantage of using this continuous integration process is that it blocks a pull request even before it has been opened and taken into account by other reviewers.
- Compile the code and execute the unit tests present in the main branch and publish the binaries of the compilation result. These binaries can be published publicly either in a GitHub release, as we saw in the previous section, Sharing binaries in a GitHub release, in a package manager such as NuGet or npm, or in any other public marketplace...