Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/FairChange

Create GitHub actions to test any code before merging

Offen
#48 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
hacktoberfest hacktoberfest-claimed help wanted
Vorherrschende Sprache
JavaScript
Sterne
34
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.](https://github.com/Call-for-Code-for-Racial-Justice/Five-Fifths-Voter/issues/232)

Each action will
- [ ] install dependencies
- [ ] build for production
- [ ] run all tests
- [ ] linting with [prettier](https://prettier.io/docs/en/index.html). 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](https://docs.github.com/en/actions/learn-github-actions)
- [ ] Create an action for each folder. You can read more [JavaScript build actions here](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python).
- [ ] Commit and push your GitHub action code.
- [ ] Go to the [Actions tab](https://github.com/Call-for-Code-for-Racial-Justice/FairChange/actions) to see if it worked.

### Acceptance Criteria
GitHub action runs for every new code commit and PR.

FYI @demilolu

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit zu prüfen, wie die Ordner für Website, Mobile und Backend lokal Abhängigkeiten installieren, bauen, testen und linten. Vergleiche die verlinkte Five Fifths Voter UI action und lies die Dokumentation zu GitHub Actions, bevor du für jeden Ordner eine action erstellst. Als erledigt gilt die Aufgabe, wenn die actions bei neuen Commits und Pull Requests ausgeführt werden und die angeforderten Schritte erfolgreich abschließen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, javascript
Bereich
backend, build-system, ci-cd, mobile-dev, testing-qa, web-dev
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.