2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Initialize environment
24- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
24+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
2525 - name : Install node modules
2626 run : yarn install --immutable
2727 - name : Generate JSON schema types
@@ -42,31 +42,35 @@ jobs:
4242 runs-on : ubuntu-latest
4343 steps :
4444 - name : Initialize environment
45- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
45+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
4646 - name : Setup Bazel
47- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
47+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
4848 - name : Setup Bazel RBE
49- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
49+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
5050 - name : Install node modules
5151 run : yarn install --immutable
5252 - name : Build release targets
5353 run : yarn ng-dev release build
5454
5555 test :
56+ needs : build
5657 runs-on : ubuntu-latest
5758 steps :
5859 - name : Initialize environment
59- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
60+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
6061 - name : Setup Bazel
61- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
62+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
6263 - name : Setup Bazel RBE
63- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
64+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
6465 - name : Install node modules
6566 run : yarn install --immutable
6667 - name : Run module and package tests
6768 run : yarn bazel test //modules/... //packages/...
69+ env :
70+ ASPECT_RULES_JS_FROZEN_PNPM_LOCK : ' 1'
6871
6972 e2e :
73+ needs : test
7074 strategy :
7175 fail-fast : false
7276 matrix :
7579 subset : [npm, esbuild]
7680 shard : [0, 1, 2, 3, 4, 5]
7781 exclude :
78- # Skip yarn subset on Windows
79- - os : windows-latest
80- subset : yarn
81- # Skip pnpm subset on Windows
82- - os : windows-latest
83- subset : pnpm
8482 # Skip Node.js v18 tests on Windows
8583 - os : windows-latest
8684 node : 18
@@ -89,18 +87,23 @@ jobs:
8987 node : 20
9088 runs-on : ${{ matrix.os }}
9189 steps :
90+ # Workaround for: https://github.com/bazel-contrib/bazel-lib/issues/968.
91+ # TODO(devversion): Remove when Aspect lib issue is fixed.
92+ - run : choco install gzip
93+ if : ${{matrix.os == 'windows-latest'}}
9294 - name : Initialize environment
93- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
95+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
9496 - name : Install node modules
9597 run : yarn install --immutable
9698 - name : Setup Bazel
97- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
99+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
98100 - name : Setup Bazel RBE
99- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
101+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
100102 - name : Run CLI E2E tests
101103 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 }}
102104
103105 e2e-package-managers :
106+ needs : test
104107 strategy :
105108 fail-fast : false
106109 matrix :
@@ -111,17 +114,18 @@ jobs:
111114 runs-on : ${{ matrix.os }}
112115 steps :
113116 - name : Initialize environment
114- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
117+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
115118 - name : Install node modules
116119 run : yarn install --immutable
117120 - name : Setup Bazel
118- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
121+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
119122 - name : Setup Bazel RBE
120- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
123+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
121124 - name : Run CLI E2E tests
122125 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 }}
123126
124127 e2e-snapshots :
128+ needs : test
125129 strategy :
126130 fail-fast : false
127131 matrix :
@@ -132,30 +136,31 @@ jobs:
132136 runs-on : ${{ matrix.os }}
133137 steps :
134138 - name : Initialize environment
135- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
139+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
136140 - name : Install node modules
137141 run : yarn install --immutable
138142 - name : Setup Bazel
139- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
143+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
140144 - name : Setup Bazel RBE
141- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
145+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
142146 - name : Run CLI E2E tests
143147 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 }}
144148
145149 browsers :
150+ needs : build
146151 runs-on : ubuntu-latest
147152 name : Browser Compatibility Tests
148153 env :
149154 SAUCE_TUNNEL_IDENTIFIER : angular-cli-${{ github.workflow }}-${{ github.run_number }}
150155 steps :
151156 - name : Initialize environment
152- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
157+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
153158 - name : Install node modules
154159 run : yarn install --immutable
155160 - name : Setup Bazel
156- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
161+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
157162 - name : Setup Bazel RBE
158- uses : angular/dev-infra/github-actions/bazel/configure-remote@1694163487c2ccb7f70660249a545ebc73559654
163+ uses : angular/dev-infra/github-actions/bazel/configure-remote@06c699a0574071728a3405e372573176faeed949
159164 - name : Run E2E Browser tests
160165 env :
161166 SAUCE_USERNAME : ${{ vars.SAUCE_USERNAME }}
@@ -170,23 +175,24 @@ jobs:
170175 ./scripts/saucelabs/wait-for-tunnel.sh
171176 yarn bazel test --config=saucelabs //tests/legacy-cli:e2e.saucelabs
172177 ./scripts/saucelabs/stop-tunnel.sh
173- - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
178+ - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
174179 if : ${{ failure() }}
175180 with :
176181 name : sauce-connect-log
177182 path : ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log
178183
179184 publish-snapshots :
185+ needs : build
180186 runs-on : ubuntu-latest
181187 env :
182188 CIRCLE_BRANCH : ${{ github.ref_name }}
183189 steps :
184190 - name : Initialize environment
185- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@1694163487c2ccb7f70660249a545ebc73559654
191+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@06c699a0574071728a3405e372573176faeed949
186192 - name : Install node modules
187193 run : yarn install --immutable
188194 - name : Setup Bazel
189- uses : angular/dev-infra/github-actions/bazel/setup@1694163487c2ccb7f70660249a545ebc73559654
195+ uses : angular/dev-infra/github-actions/bazel/setup@06c699a0574071728a3405e372573176faeed949
190196 - run : yarn admin snapshots --verbose
191197 env :
192198 SNAPSHOT_BUILDS_GITHUB_TOKEN : ${{ secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN }}
0 commit comments