@@ -105,3 +105,67 @@ jobs:
105105 run : yarn install --frozen-lockfile --network-timeout 100000
106106 - name : Run CI tests for framework
107107 run : yarn test:ci
108+
109+ aio :
110+ runs-on : ubuntu-latest-4core
111+ steps :
112+ - name : Initialize environment
113+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@45de46d9ba0e0689b7a846fd31ec9e241807ca71
114+ with :
115+ cache-node-modules : true
116+ node-module-directories : |
117+ ./aio/node_modules
118+ - name : Setup Bazel
119+ uses : angular/dev-infra/github-actions/bazel/setup@45de46d9ba0e0689b7a846fd31ec9e241807ca71
120+ - name : Setup Bazel RBE
121+ uses : angular/dev-infra/github-actions/bazel/configure-remote@45de46d9ba0e0689b7a846fd31ec9e241807ca71
122+ - name : Install node modules for aio
123+ run : yarn install --cwd aio --frozen-lockfile
124+ - name : Run AIO tests with upstream packages
125+ run : yarn --cwd aio test:ci
126+ - name : Check generated bundle sizes
127+ run : yarn --cwd aio payload-size
128+
129+ aio-local :
130+ runs-on :
131+ labels : ubuntu-latest-4core
132+ steps :
133+ - name : Initialize environment
134+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@45de46d9ba0e0689b7a846fd31ec9e241807ca71
135+ with :
136+ cache-node-modules : true
137+ node-module-directories : |
138+ ./aio/node_modules
139+ - name : Setup Bazel
140+ uses : angular/dev-infra/github-actions/bazel/setup@45de46d9ba0e0689b7a846fd31ec9e241807ca71
141+ - name : Setup Bazel RBE
142+ uses : angular/dev-infra/github-actions/bazel/configure-remote@45de46d9ba0e0689b7a846fd31ec9e241807ca71
143+ - name : Install node modules
144+ run : yarn install --cwd aio --frozen-lockfile
145+ - name : Run AIO tests with local packages
146+ run : yarn --cwd aio test-local:ci
147+ - name : Check generated bundle sizes
148+ run : yarn --cwd aio payload-size aio-local
149+
150+ aio-deploy :
151+ needs : [aio]
152+ if : needs.aio.result == success() && github.event_name == 'push'
153+ runs-on :
154+ labels : ubuntu-latest
155+ steps :
156+ - name : Initialize environment
157+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@45de46d9ba0e0689b7a846fd31ec9e241807ca71
158+ with :
159+ cache-node-modules : true
160+ node-module-directories : |
161+ ./aio/node_modules
162+ - name : Setup Bazel
163+ uses : angular/dev-infra/github-actions/bazel/setup@45de46d9ba0e0689b7a846fd31ec9e241807ca71
164+ - name : Setup Bazel RBE
165+ uses : angular/dev-infra/github-actions/bazel/configure-remote@45de46d9ba0e0689b7a846fd31ec9e241807ca71
166+ - name : Install node modules for aio
167+ run : yarn install --cwd aio --frozen-lockfile
168+ - name : Set the stable branch environment variable
169+ run : export CI_STABLE_BRANCH=$(npm info @angular/core dist-tags.latest | sed -r 's/^\\s*([0-9]+\\.[0-9]+)\\.[0-9]+.*$/\\1.x/')
170+ - name : Deploy aio to production
171+ run : yarn --cwd aio deploy-production
0 commit comments