Skip to content

Create GitHub actions to test any code before merging #48

@upkarlidder

Description

@upkarlidder

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

Acceptance Criteria

GitHub action runs for every new code commit and PR.

FYI @demilolu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions