Fix bookmark search database fallback #16
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v6 | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 8.9.2 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "11" | |
| cache: maven | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: services/metadata-worker/go.mod | |
| cache-dependency-path: services/metadata-worker/go.mod | |
| - name: Set up Terraform | |
| uses: hashicorp/setup-terraform@v4 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate contracts | |
| run: pnpm contracts:validate | |
| - name: Validate architecture support | |
| run: pnpm check:architecture-support | |
| - name: Validate CI workflow guard | |
| run: pnpm check:ci-workflow | |
| - name: Lint web | |
| run: pnpm lint:web | |
| - name: Build web | |
| run: pnpm build:web | |
| - name: Test API | |
| run: pnpm test:api | |
| - name: Test metadata worker | |
| run: pnpm test:metadata-worker | |
| - name: Verify Docker Compose stack | |
| run: pnpm compose:verify | |
| - name: Validate Docker Compose config | |
| run: pnpm compose:config | |
| - name: Validate production operations scripts | |
| run: | | |
| node --check scripts/production-smoke-check.mjs | |
| node --check scripts/production-postgres-backup.mjs | |
| node --check scripts/production-postgres-restore-check.mjs | |
| node --check scripts/production-context-preflight.mjs | |
| node --check scripts/external-public-endpoint-check.mjs | |
| pnpm backup:production:dry-run | |
| pnpm backup:production:restore-check:dry-run | |
| pnpm smoke:production:dry-run | |
| pnpm preflight:production-context:dry-run | |
| pnpm public:endpoints:external:dry-run | |
| - name: Validate Terraform | |
| run: | | |
| pnpm infra:pi:verify | |
| terraform -chdir=infra/terraform/pi init -backend=false | |
| terraform -chdir=infra/terraform/pi validate | |
| terraform -chdir=infra/terraform/pi plan -input=false -lock=false -no-color | |
| - name: Validate image workflow | |
| run: | | |
| node --check scripts/validate-image-workflow.mjs | |
| pnpm images:verify |