forked from gallosanchez23/roborregos-web
-
Notifications
You must be signed in to change notification settings - Fork 2
Continuous Integration
Aurora Tijerina edited this page Dec 13, 2020
·
3 revisions
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
For code consistency we use ESLint configured with Airbnb standards, as well as Flow for static type checking.
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.