Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jc/zod schemas #24

Merged
merged 10 commits into from
Jan 10, 2024
17 changes: 13 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: backend/package-lock.json

# Change directory to backend before running npm commands
- run: |
cd backend
Expand All @@ -39,6 +39,15 @@ jobs:
echo AWS_BUCKET_NAME=$AWS_BUCKET_NAME >> .env
echo PORT=3000 >> .env
echo ENV=GA >> .env
- run: cd backend && npm ci
- run: cd backend && npm run build --if-present
- run: cd backend && npm test

- name: Install Shared Dependencies
run: cd shared && npm ci

- name: Install Backend Dependencies
run: cd backend && npm ci

- name: Build Backend (if applicable)
run: cd backend && npm run build --if-present

- name: Test Backend
run: cd backend && npm test
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ $ npx prisma db push // push model changes to remote db instance
- JetBrain's Webstorm
- VSCode

### Code Formatting

The project uses a common Prettier config file to maintain consistent code formatting. Install the Prettier extension and configure your IDE to use Prettier as your default code formatter and set it to format on save.


### Git

- To streamline new branch creation you can use this command to automatically set up an upstream
Expand Down
Loading