2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Initialize environment
24- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
24+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
2525 - name : Setup Bazel
26- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
26+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
2727 - name : Install node modules
2828 run : pnpm install --frozen-lockfile
2929 - name : Generate JSON schema types
@@ -44,11 +44,11 @@ jobs:
4444 runs-on : ubuntu-latest
4545 steps :
4646 - name : Initialize environment
47- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
47+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
4848 - name : Setup Bazel
49- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
49+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
5050 - name : Setup Bazel RBE
51- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
51+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
5252 with :
5353 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
5454 - name : Install node modules
@@ -61,19 +61,17 @@ jobs:
6161 runs-on : ubuntu-latest
6262 steps :
6363 - name : Initialize environment
64- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
64+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
6565 - name : Setup Bazel
66- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
66+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
6767 - name : Setup Bazel RBE
68- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
68+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
6969 with :
7070 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
7171 - name : Install node modules
7272 run : pnpm install --frozen-lockfile
7373 - name : Run module and package tests
74- run : pnpm bazel test //modules/... //packages/...
75- env :
76- ASPECT_RULES_JS_FROZEN_PNPM_LOCK : ' 1'
74+ run : pnpm bazel test -- //... -//tests/legacy-cli/...
7775
7876 e2e :
7977 needs : test
@@ -87,19 +85,50 @@ jobs:
8785 runs-on : ${{ matrix.os }}
8886 steps :
8987 - name : Initialize environment
90- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
88+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
9189 - name : Install node modules
9290 run : pnpm install --frozen-lockfile
9391 - name : Setup Bazel
94- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
92+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
9593 - name : Setup Bazel RBE
96- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
94+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
9795 with :
9896 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
9997 - name : Run CLI E2E tests
10098 run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}
10199
102- e2e_windows :
100+ build-e2e-windows :
101+ runs-on : ubuntu-latest
102+ steps :
103+ - name : Initialize environment
104+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
105+ - name : Setup Bazel
106+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
107+ - name : Setup Bazel RBE
108+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
109+ with :
110+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
111+ - name : Install node modules
112+ run : pnpm install --frozen-lockfile
113+ - name : Build E2E tests for Windows on Linux
114+ run : |
115+ pnpm bazel build \
116+ --config=e2e \
117+ //tests/legacy-cli:e2e.npm_node22 \
118+ //tests/legacy-cli:e2e.esbuild_node22 \
119+ --platforms=tools:windows_x64
120+ - name : Store built Windows E2E tests
121+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
122+ with :
123+ name : win-e2e-build-artifacts
124+ path : |
125+ dist/bin/tests/legacy-cli/**
126+ !**/node_modules/**
127+ retention-days : 1
128+ if-no-files-found : ' error'
129+
130+ e2e-windows :
131+ needs : build-e2e-windows
103132 strategy :
104133 fail-fast : false
105134 matrix :
@@ -110,14 +139,14 @@ jobs:
110139 runs-on : ${{ matrix.os }}
111140 steps :
112141 - name : Initialize environment
113- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
114- - name : Setup Bazel
115- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
116- - name : Setup Bazel RBE
117- uses : angular/dev-infra/github- actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
142+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
143+ - name : Install node modules
144+ run : pnpm install --frozen-lockfile
145+ - name : Download built Windows E2E tests
146+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
118147 with :
119- allow_windows_rbe : true
120- google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
148+ name : win-e2e-build-artifacts
149+ path : dist/bin/tests/legacy-cli/
121150 - name : Run CLI E2E tests
122151 uses : ./.github/shared-actions/windows-bazel-test
123152 with :
@@ -131,20 +160,22 @@ jobs:
131160 strategy :
132161 fail-fast : false
133162 matrix :
134- os : [ubuntu-latest]
163+ # These tests can generate a significant amount of temp files, especially when
164+ # flaky targets are retried. The larger machine type comes with 2x more SSD space.
165+ os : [ubuntu-latest-4core]
135166 node : [22]
136167 subset : [yarn, pnpm]
137168 shard : [0, 1, 2]
138169 runs-on : ${{ matrix.os }}
139170 steps :
140171 - name : Initialize environment
141- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
172+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
142173 - name : Install node modules
143174 run : pnpm install --frozen-lockfile
144175 - name : Setup Bazel
145- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
176+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
146177 - name : Setup Bazel RBE
147- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
178+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
148179 with :
149180 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
150181 - name : Run CLI E2E tests
@@ -163,13 +194,13 @@ jobs:
163194 runs-on : ${{ matrix.os }}
164195 steps :
165196 - name : Initialize environment
166- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
197+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
167198 - name : Install node modules
168199 run : pnpm install --frozen-lockfile
169200 - name : Setup Bazel
170- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
201+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
171202 - name : Setup Bazel RBE
172- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
203+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
173204 with :
174205 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
175206 - name : Run CLI E2E tests
@@ -183,13 +214,13 @@ jobs:
183214 SAUCE_TUNNEL_IDENTIFIER : angular-cli-${{ github.workflow }}-${{ github.run_number }}
184215 steps :
185216 - name : Initialize environment
186- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
217+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
187218 - name : Install node modules
188219 run : pnpm install --frozen-lockfile
189220 - name : Setup Bazel
190- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
221+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
191222 - name : Setup Bazel RBE
192- uses : angular/dev-infra/github-actions/bazel/configure-remote@43b8195028f62c7a10f793a0f7c48893531a32dc
223+ uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
193224 with :
194225 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
195226 - name : Run E2E Browser tests
@@ -206,7 +237,7 @@ jobs:
206237 ./scripts/saucelabs/wait-for-tunnel.sh
207238 pnpm bazel test --config=saucelabs //tests/legacy-cli:e2e.saucelabs
208239 ./scripts/saucelabs/stop-tunnel.sh
209- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
240+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
210241 if : ${{ failure() }}
211242 with :
212243 name : sauce-connect-log
@@ -219,11 +250,11 @@ jobs:
219250 CIRCLE_BRANCH : ${{ github.ref_name }}
220251 steps :
221252 - name : Initialize environment
222- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@43b8195028f62c7a10f793a0f7c48893531a32dc
253+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
223254 - name : Install node modules
224255 run : pnpm install --frozen-lockfile
225256 - name : Setup Bazel
226- uses : angular/dev-infra/github-actions/bazel/setup@43b8195028f62c7a10f793a0f7c48893531a32dc
257+ uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
227258 - run : pnpm admin snapshots --verbose
228259 env :
229260 SNAPSHOT_BUILDS_GITHUB_TOKEN : ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
0 commit comments