-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Background on the problem the feature will solve/improved user experience
Add GitHub Actions to test and build new code pushed to a branch or committed to a pull request. Code that passes all the steps in the GitHub action can be merged in the repository.
Describe the solution you'd like
A GitHub action runs whenever code is committed to any branch or PR is made to the main branch for each of the following components:
- website folder
- mobile folder
- backend folder
Refer to a similar action that was implemented for the UI folder in Five Fifths Voter project.
Each action will
- install dependencies
- build for production
- run all tests
- linting with prettier. Discuss with the team on what linter to use.
Tasks
- Ensure install, build and lint steps run locally on your system
- Read more about GitHub actions
- Create an action for each folder. You can read more JavaScript build actions here.
- Commit and push your GitHub action code.
- Go to the Actions tab to see if it worked.
Acceptance Criteria
GitHub action runs for every new code commit and PR.
FYI @demilolu