Skip to content

Update README - reflect Railway migration, security improvements, and… #90

Update README - reflect Railway migration, security improvements, and…

Update README - reflect Railway migration, security improvements, and… #90

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install backend dependencies
run: |
cd backend
npm ci
- name: Run backend tests
run: |
cd backend
npm test
test-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install frontend dependencies
run: |
cd frontend
npm ci
- name: Run frontend tests
run: |
cd frontend
npm test
build:
needs: [test-backend, test-frontend]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docker images
run: |
docker compose build
- name: Run Docker Compose
run: |
docker compose up -d
sleep 10
docker compose ps
docker compose down
# Deployment handled by:
# - Render.com auto-deploys backend from main branch
# - AWS Amplify auto-deploys frontend from main branch