@@ -21,14 +21,14 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Initialize environment
24- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
24+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
2525 - name : Setup Bazel
26- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
26+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
2727 - name : Install node modules
2828 run : pnpm install --frozen-lockfile
2929 - name : Generate JSON schema types
3030 # Schema types are required to correctly lint the TypeScript code
31- run : pnpm admin build-schema
31+ run : pnpm run build-schema
3232 - name : Run ESLint
3333 run : pnpm lint --cache-strategy content
3434 - name : Validate NgBot Configuration
@@ -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@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
47+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
4848 - name : Setup Bazel
49- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
49+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
5050 - name : Setup Bazel RBE
51- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
51+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
5252 with :
5353 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
5454 - name : Install node modules
@@ -61,51 +61,50 @@ jobs:
6161 runs-on : ubuntu-latest
6262 steps :
6363 - name : Initialize environment
64- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
64+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
6565 - name : Setup Bazel
66- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
66+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
6767 - name : Setup Bazel RBE
68- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
68+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
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 -- //... -//tests/legacy-cli/ ...
74+ run : pnpm bazel test -- //... -//tests/...
7575
7676 e2e :
7777 needs : test
7878 strategy :
7979 fail-fast : false
8080 matrix :
81- os : [ubuntu-latest]
8281 node : [20, 22, 24]
83- subset : [npm, esbuild ]
82+ subset : [esbuild, webpack ]
8483 shard : [0, 1, 2, 3, 4, 5]
85- runs-on : ${{ matrix.os }}
84+ runs-on : ubuntu-latest
8685 steps :
8786 - name : Initialize environment
88- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
87+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
8988 - name : Install node modules
9089 run : pnpm install --frozen-lockfile
9190 - name : Setup Bazel
92- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
91+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
9392 - name : Setup Bazel RBE
94- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
93+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
9594 with :
9695 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
9796 - name : Run CLI E2E tests
98- 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 }}
97+ run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests:e2e.${{ matrix.subset }}_node${{ matrix.node }}
9998
10099 build-e2e-windows :
101100 runs-on : ubuntu-latest
102101 steps :
103102 - name : Initialize environment
104- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
103+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
105104 - name : Setup Bazel
106- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
105+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
107106 - name : Setup Bazel RBE
108- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
107+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
109108 with :
110109 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
111110 - name : Install node modules
@@ -114,15 +113,15 @@ jobs:
114113 run : |
115114 pnpm bazel build \
116115 --config=e2e \
117- //tests/legacy-cli :e2e.npm_node22 \
118- //tests/legacy-cli :e2e.esbuild_node22 \
116+ //tests:e2e.webpack_node22 \
117+ //tests:e2e.esbuild_node22 \
119118 --platforms=tools:windows_x64
120119 - name : Store built Windows E2E tests
121- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
120+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
122121 with :
123122 name : win-e2e-build-artifacts
124123 path : |
125- dist/bin/tests/legacy-cli/ **
124+ dist/bin/tests/**
126125 !**/node_modules/**
127126 retention-days : 1
128127 if-no-files-found : ' error'
@@ -132,21 +131,20 @@ jobs:
132131 strategy :
133132 fail-fast : false
134133 matrix :
135- os : [windows-2025]
136134 node : [22]
137- subset : [npm, esbuild ]
135+ subset : [esbuild, webpack ]
138136 shard : [0, 1, 2, 3, 4, 5]
139- runs-on : ${{ matrix.os }}
137+ runs-on : windows-2025
140138 steps :
141139 - name : Initialize environment
142- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
140+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
143141 - name : Install node modules
144142 run : pnpm install --frozen-lockfile
145143 - name : Download built Windows E2E tests
146- uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
144+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
147145 with :
148146 name : win-e2e-build-artifacts
149- path : dist/bin/tests/legacy-cli/
147+ path : dist/bin/tests/
150148 - name : Run CLI E2E tests
151149 uses : ./.github/shared-actions/windows-bazel-test
152150 with :
@@ -160,51 +158,47 @@ jobs:
160158 strategy :
161159 fail-fast : false
162160 matrix :
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]
166161 node : [22]
167- subset : [yarn, pnpm]
162+ subset : [yarn, pnpm, bun ]
168163 shard : [0, 1, 2]
169- runs-on : ${{ matrix.os }}
164+ runs-on : ubuntu-latest
170165 steps :
171166 - name : Initialize environment
172- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
167+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
173168 - name : Install node modules
174169 run : pnpm install --frozen-lockfile
175170 - name : Setup Bazel
176- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
171+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
177172 - name : Setup Bazel RBE
178- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
173+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
179174 with :
180175 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
181176 - name : Run CLI E2E tests
182- run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=3 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli :e2e.${{ matrix.subset }}_node${{ matrix.node }}
177+ run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=3 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests:e2e.${{ matrix.subset }}_node${{ matrix.node }}
183178
184179 e2e-snapshots :
185180 needs : test
186181 if : github.ref == 'refs/heads/main'
187182 strategy :
188183 fail-fast : false
189184 matrix :
190- os : [ubuntu-latest]
191185 node : [22]
192- subset : [npm, esbuild ]
186+ subset : [esbuild, webpack ]
193187 shard : [0, 1, 2, 3, 4, 5]
194- runs-on : ${{ matrix.os }}
188+ runs-on : ubuntu-latest
195189 steps :
196190 - name : Initialize environment
197- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
191+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
198192 - name : Install node modules
199193 run : pnpm install --frozen-lockfile
200194 - name : Setup Bazel
201- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
195+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
202196 - name : Setup Bazel RBE
203- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
197+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
204198 with :
205199 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
206200 - name : Run CLI E2E tests
207- run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli :e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }}
201+ run : pnpm bazel test --test_env=E2E_SHARD_TOTAL=6 --test_env=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests:e2e.snapshots.${{ matrix.subset }}_node${{ matrix.node }}
208202
209203 browsers :
210204 needs : build
@@ -214,13 +208,13 @@ jobs:
214208 SAUCE_TUNNEL_IDENTIFIER : angular-cli-${{ github.workflow }}-${{ github.run_number }}
215209 steps :
216210 - name : Initialize environment
217- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
211+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
218212 - name : Install node modules
219213 run : pnpm install --frozen-lockfile
220214 - name : Setup Bazel
221- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
215+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
222216 - name : Setup Bazel RBE
223- uses : angular/dev-infra/github-actions/bazel/configure-remote@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
217+ uses : angular/dev-infra/github-actions/bazel/configure-remote@942d738d8f4d65b161d06e6c399fefec318cdbfe
224218 with :
225219 google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
226220 - name : Run E2E Browser tests
@@ -235,9 +229,9 @@ jobs:
235229 run : |
236230 ./scripts/saucelabs/start-tunnel.sh &
237231 ./scripts/saucelabs/wait-for-tunnel.sh
238- pnpm bazel test --config=saucelabs //tests/legacy-cli :e2e.saucelabs
232+ pnpm bazel test --config=saucelabs //tests:e2e.saucelabs
239233 ./scripts/saucelabs/stop-tunnel.sh
240- - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
234+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
241235 if : ${{ failure() }}
242236 with :
243237 name : sauce-connect-log
@@ -250,11 +244,11 @@ jobs:
250244 CIRCLE_BRANCH : ${{ github.ref_name }}
251245 steps :
252246 - name : Initialize environment
253- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
247+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@942d738d8f4d65b161d06e6c399fefec318cdbfe
254248 - name : Install node modules
255249 run : pnpm install --frozen-lockfile
256250 - name : Setup Bazel
257- uses : angular/dev-infra/github-actions/bazel/setup@c855fffb4b01bc06e743eb3bdfd54c866af09ad8
251+ uses : angular/dev-infra/github-actions/bazel/setup@942d738d8f4d65b161d06e6c399fefec318cdbfe
258252 - run : pnpm admin snapshots --verbose
259253 env :
260254 SNAPSHOT_BUILDS_GITHUB_TOKEN : ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
0 commit comments