This is the org-level .github repository for VTS Studio. It contains reusable GitHub Actions workflows shared across all repositories in the organization.
.github/
workflows/
laravel.yml β Reusable CI for Laravel backends (Pint, Tests, PHPStan)
react.yml β Reusable CI for React frontends (ESLint, TypeScript, Vitest, Build)
Repos call these workflows using workflow_call with custom inputs. Each workflow has sensible defaults that match our standard monorepo structure (backend/ and frontend/ directories).
Example caller in a repo's .github/workflows/ci.yml:
jobs:
laravel:
uses: vts-studio/.github/.github/workflows/laravel.yml@main
with:
php-version: "8.3"
test-runner: "vendor/bin/pest"- All workflows must use
workflow_calltrigger to be reusable - Every input must have a sensible default so repos only override what they need
- Jobs run in parallel when independent
- Services (MySQL, Redis) are only spun up in the test job, not in linting jobs
- Boolean inputs (
run-pint,run-tests, etc.) allow repos to disable specific checks
- GitHub Actions (YAML)
- PHP tooling: Laravel Pint, PHPUnit/Pest, PHPStan
- Node tooling: ESLint, TypeScript, Vitest, npm/yarn
No local commands β this repo is consumed by GitHub Actions only.