i18n: expand FR/EN dictionary and render Overlays within the provider #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-test: | |
| name: Lint · Typecheck · Test · Build | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:16-alpine | |
| env: | |
| POSTGRES_USER: ocl | |
| POSTGRES_PASSWORD: ocl | |
| POSTGRES_DB: ocl_test | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd "pg_isready -U ocl" | |
| --health-interval 5s | |
| --health-timeout 5s | |
| --health-retries 10 | |
| env: | |
| DATABASE_URL: postgresql://ocl:ocl@localhost:5432/ocl_test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build shared package | |
| run: pnpm --filter @opencoperlock/shared build | |
| - name: Generate Prisma client | |
| run: pnpm --filter @opencoperlock/api prisma:generate | |
| - name: Typecheck | |
| run: pnpm -r typecheck | |
| - name: Lint | |
| run: pnpm -r lint | |
| - name: Test (unit + integration) | |
| run: pnpm -r test | |
| - name: Build (web + api) | |
| run: pnpm --filter @opencoperlock/api build && pnpm --filter @opencoperlock/web build | |
| env: | |
| NEXT_PUBLIC_API_URL: http://localhost:4000 | |
| docker: | |
| name: Docker image build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build API image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: infra/Dockerfile.api | |
| push: false | |
| - name: Build Web image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: infra/Dockerfile.web | |
| push: false | |
| build-args: | | |
| NEXT_PUBLIC_API_URL=http://localhost:4000 |