Description
Set up a CI/CD pipeline using GitHub Actions to automatically test, lint, and deploy the application.
Tasks
CI Pipeline
name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run type-check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm test
Acceptance Criteria
- CI pipeline runs on every push and PR
- All checks must pass before merging
- Deployment happens automatically on main branch
- Supabase migrations run automatically
- Build artifacts are cached for performance
Description
Set up a CI/CD pipeline using GitHub Actions to automatically test, lint, and deploy the application.
Tasks
.github/workflows/ci.ymlfor continuous integration.github/workflows/deploy.ymlfor deploymentCI Pipeline
Acceptance Criteria