Continuous Integration - RoBorregos/roborregos-web GitHub Wiki
Building
Our continuous integration system is running on Github Actions in the .github/workflows/node.js.yml
file.
Whenever there's a pull request to the develop branch, a new job is scheduled to run. An Ubuntu machine (latest version) running Node.js runs the following commands to ensure there are no styling and testing errors in the project:
- yarn install
- yarn flow
- yarn test
Linters
For code consistency we use ESLint configured with Airbnb standards, as well as Flow for static type checking.
Testing
To know more about the unit tests made for each react component check out the RoBorregos' Web Testing Wiki Page
If the building completes correctly and all the tests are successful, the action allows the merge to develop.