User Story
As a BRANCH dev, I want to make sure my code works
Overview
Create a GitHub Actions pipeline that runs jest tests on all lambda functions
Acceptance Criteria
- Create the workflow file in .github folder
- Make the check required in GitHub terraform workspace
Pipeline high level:
- Gets a PSQL server running using either built in GHA
services or manually
- Bootstraps the DB (creates user, tables, seed data, etc)
- If changes to the backend, runs
npm run test on every lambda function folder (with node)