From 673388ad8fc832dbe6ebbb5b62590a27d501fafc Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:10:29 -0500 Subject: [PATCH] ci: ensure passing build before rest of CI jobs --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c4196c02c..4084b73464 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: run: yarn ng-dev release build test: + needs: build runs-on: ubuntu-latest steps: - name: Initialize environment @@ -69,6 +70,7 @@ jobs: ASPECT_RULES_JS_FROZEN_PNPM_LOCK: '1' e2e: + needs: build strategy: fail-fast: false matrix: @@ -101,6 +103,7 @@ jobs: run: yarn bazel test --define=E2E_SHARD_TOTAL=6 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }} e2e-package-managers: + needs: build strategy: fail-fast: false matrix: @@ -122,6 +125,7 @@ jobs: run: yarn bazel test --define=E2E_SHARD_TOTAL=3 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }} e2e-snapshots: + needs: build strategy: fail-fast: false matrix: @@ -143,6 +147,7 @@ jobs: run: yarn bazel test --define=E2E_SHARD_TOTAL=6 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }} browsers: + needs: build runs-on: ubuntu-latest name: Browser Compatibility Tests env: @@ -177,6 +182,7 @@ jobs: path: ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log publish-snapshots: + needs: build runs-on: ubuntu-latest env: CIRCLE_BRANCH: ${{ github.ref_name }}