.github/workflows/
that run automatically on pull requests to validate builds and enforce code quality.
Workflows Overview
Build Workflows
Validate Docker builds for API and Web
Lint Workflows
Run ESLint, TypeScript, and Prettier
Build Workflows
Workflows build Docker images to ensure they compile successfully before merging. They use BuildKit caching to speed up builds.Build API
File:.github/workflows/build-api.yml
Triggers: PRs to main
with changes in apps/api/**
or packages/**
Build Web
File:.github/workflows/build-web.yml
Triggers: PRs to main
with changes in apps/web/**
or packages/**
Lint Workflows
Linting uses a reusable template workflow that runs ESLint, TypeScript, and Prettier checks.Linter Template
File:.github/workflows/linter.template.yml
Reusable workflow for running linters with pnpm and Node.js.
The lint-action automatically posts inline comments on PRs for linting issues.
Lint API & Web
Files:.github/workflows/run-api-linter.yml
, .github/workflows/run-web-linter.yml
Triggers: PRs to main
with changes in respective apps or packages
Customization
Update Node.js/pnpm Versions
Edit.github/workflows/linter.template.yml
:
All workflows support manual triggering via
workflow_dispatch
for testing.