From a7183d8889b8384d78a344bac96486ec63c8d835 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Thu, 20 Mar 2025 11:55:49 +0000 Subject: [PATCH] ci: run adev tests before build (#60485) Since tests run faster than the build, executing them first allows for quicker failure detection, improving efficiency. PR Close #60485 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2275403265c..08cd78a61ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,10 +83,10 @@ jobs: uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f - name: Install node modules run: yarn install --frozen-lockfile - - name: Build adev in fast mode to ensure it continues to work - run: yarn bazel build //adev:build --config=release - name: Run tests run: yarn bazel test //adev/... + - name: Build adev in fast mode to ensure it continues to work + run: yarn bazel build //adev:build --config=release publish-snapshots: runs-on: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e473e8156a0..90476f58a1e 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -118,10 +118,10 @@ jobs: uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f - name: Install node modules run: yarn install --frozen-lockfile - - name: Build adev in fast mode to ensure it continues to work - run: yarn bazel build //adev:build --config=release - name: Run tests run: yarn bazel test //adev/... + - name: Build adev in fast mode to ensure it continues to work + run: yarn bazel build //adev:build --config=release zone-js: runs-on: