Skip to content

Commit dadd89f

Browse files
josephperrottclydin
authored andcommitted
ci: run build tests on GHA
Run the build tests on Github Actions ahead of completed migrate from CircleCI
1 parent 6539bb5 commit dadd89f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.circleci/dynamic_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ jobs:
189189
paths:
190190
- ~/.cache/yarn
191191

192+
# TODO: Remove once no other jobs rely on it anymore.
192193
build:
193194
executor: bazel-executor
194195
steps:

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@ jobs:
5151
# it has been merged.
5252
if: github.event_name == 'pull_request'
5353
run: yarn ng-dev format changed --check ${{ github.event.pull_request.base.sha }}
54+
build:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Initialize environment
58+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@0109d498b0f6aae418ed4924a5e5c65695f0ac61
59+
- name: Setup Bazel
60+
uses: angular/dev-infra/github-actions/bazel/setup@0109d498b0f6aae418ed4924a5e5c65695f0ac61
61+
- name: Setup Bazel RBE
62+
uses: angular/dev-infra/github-actions/bazel/configure-remote@0109d498b0f6aae418ed4924a5e5c65695f0ac61
63+
- name: Install node modules
64+
run: yarn install --frozen-lockfile
65+
- name: Build all buildable targets
66+
run: yarn bazel build //...

0 commit comments

Comments
 (0)