mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
ci: ensure passing build before rest of CI jobs
This commit is contained in:
parent
13e233a942
commit
673388ad8f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
|||||||
run: yarn ng-dev release build
|
run: yarn ng-dev release build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
@ -69,6 +70,7 @@ jobs:
|
|||||||
ASPECT_RULES_JS_FROZEN_PNPM_LOCK: '1'
|
ASPECT_RULES_JS_FROZEN_PNPM_LOCK: '1'
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
|
needs: build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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 }}
|
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:
|
e2e-package-managers:
|
||||||
|
needs: build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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 }}
|
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:
|
e2e-snapshots:
|
||||||
|
needs: build
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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 }}
|
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:
|
browsers:
|
||||||
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Browser Compatibility Tests
|
name: Browser Compatibility Tests
|
||||||
env:
|
env:
|
||||||
@ -177,6 +182,7 @@ jobs:
|
|||||||
path: ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log
|
path: ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log
|
||||||
|
|
||||||
publish-snapshots:
|
publish-snapshots:
|
||||||
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CIRCLE_BRANCH: ${{ github.ref_name }}
|
CIRCLE_BRANCH: ${{ github.ref_name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user