diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 100fff7d..957e2779 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: CI +name: Frontend checks on: pull_request: @@ -10,12 +10,26 @@ permissions: contents: read jobs: - ci: + build-and-test: + name: Build and test # Org reusable workflow (Node 24): format check, lint, build, unit tests. uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@main with: node-version: "24" + # Temporary compatibility check for the existing branch-protection context. + # Remove after both repository rulesets require `Build and test / ci`. + ci-compatibility: + name: ci / ci + needs: build-and-test + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Propagate build-and-test result + env: + BUILD_AND_TEST_RESULT: ${{ needs.build-and-test.result }} + run: test "${BUILD_AND_TEST_RESULT}" = "success" + governance: # Repo-owned guarantee that every frontend quality gate runs from this # repository, independent of (and in addition to) the reusable workflow.