name: creative workspace review checks on: pull_request: branches: [main] paths: - 'apps/studio/**' - 'apps/waterfall-wiki/**' - '.gitea/workflows/**' - 'scripts/*studio*' - 'compose.creative-review.yml' - 'scripts/integration.sh' concurrency: group: creative-workspace-${{ gitea.event.pull_request.number }} cancel-in-progress: true jobs: verify: runs-on: ces-control timeout-minutes: 60 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check patch formatting run: git diff --check HEAD^ HEAD - name: Verify Studio types, tests, build and smoke run: docker build -f apps/studio/Dockerfile -t "creative-studio-review:${{ gitea.sha }}" . - name: Build Wiki integration and runtime images run: | docker build --target integration -t "creative-wiki-tests:${{ gitea.sha }}" . docker build --target runtime -t "creative-wiki-review:${{ gitea.sha }}" . - name: Verify isolated PostgreSQL, S3 and browser integration env: STUDIO_REVIEW_IMAGE: creative-studio-review:${{ gitea.sha }} WATERFALL_WIKI_IMAGE: creative-wiki-review:${{ gitea.sha }} WATERFALL_WIKI_TEST_IMAGE: creative-wiki-tests:${{ gitea.sha }} GITEA_RUN_ID: ${{ gitea.run_id }} run: bash scripts/integration.sh