Skip to content

Commit a7183d8

Browse files
alan-agius4alxhub
authored andcommitted
ci: run adev tests before build (angular#60485)
Since tests run faster than the build, executing them first allows for quicker failure detection, improving efficiency. PR Close angular#60485
1 parent aab765f commit a7183d8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ jobs:
8383
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
8484
- name: Install node modules
8585
run: yarn install --frozen-lockfile
86-
- name: Build adev in fast mode to ensure it continues to work
87-
run: yarn bazel build //adev:build --config=release
8886
- name: Run tests
8987
run: yarn bazel test //adev/...
88+
- name: Build adev in fast mode to ensure it continues to work
89+
run: yarn bazel build //adev:build --config=release
9090

9191
publish-snapshots:
9292
runs-on:

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ jobs:
118118
uses: angular/dev-infra/github-actions/bazel/configure-remote@27078026111b01a7202449e9788ce38f2b2e103f
119119
- name: Install node modules
120120
run: yarn install --frozen-lockfile
121-
- name: Build adev in fast mode to ensure it continues to work
122-
run: yarn bazel build //adev:build --config=release
123121
- name: Run tests
124122
run: yarn bazel test //adev/...
123+
- name: Build adev in fast mode to ensure it continues to work
124+
run: yarn bazel build //adev:build --config=release
125125

126126
zone-js:
127127
runs-on:

0 commit comments

Comments
 (0)