@@ -28,7 +28,7 @@ anchor_1_win: &defaults_win
28
28
resource_class : windows.medium
29
29
shell : powershell.exe -ExecutionPolicy Bypass
30
30
machine :
31
- image : windows-server-2019
31
+ image : windows-server-2019
32
32
33
33
# After checkout, rebase on top of target branch.
34
34
anchor_2 : &post_checkout
@@ -37,8 +37,8 @@ anchor_2: &post_checkout
37
37
command : >
38
38
if [[ -n "${CIRCLE_PR_NUMBER}" ]]; then
39
39
# User is required for rebase.
40
- git config user.name "angular-ci"
41
- git config user.email "angular-ci"
40
+ git config user.name "angular-ci"
41
+ git config user.email "angular-ci"
42
42
# Rebase PR on top of target branch.
43
43
node tools/rebase-pr.js angular/angular-cli ${CIRCLE_PR_NUMBER}
44
44
else
@@ -67,7 +67,7 @@ anchor_5: &env_win
67
67
name : Setup windows node environment
68
68
command : ./.circleci/windows-env.ps1
69
69
anchor_6 : &ignore_pull_requests
70
- filters :
70
+ filters :
71
71
branches :
72
72
ignore :
73
73
- /pull\/.*/
@@ -228,9 +228,9 @@ jobs:
228
228
# Docs: https://github.com/CircleCI-Public/windows-preview-docs
229
229
test-win :
230
230
<< : *defaults_win
231
- # Skipping cache and workspace for now because it takes 10x longer than on linux.
231
+ # Skipping cache and workspace for now because it takes 10x longer than on linux.
232
232
# TODO: when/if CircleCI makes them faster, use cache and workspaces fully.
233
- # Notes:
233
+ # Notes:
234
234
# - windows needs its own cache key because binaries in node_modules are different.
235
235
# - windows might need its own workspace for the same reason.
236
236
# - get cache dir on windows via `yarn cache dir` (was `C:\Users\circleci\AppData\Local\Yarn\Cache\v4` last time)
@@ -243,10 +243,10 @@ jobs:
243
243
- run : yarn install --frozen-lockfile
244
244
# Build and test should be on their own jobs, but restoring workspaces is too slow
245
245
# so we do it here.
246
- - run : yarn admin -- build
247
- - run : yarn test -- --full
246
+ - run : yarn admin -- build
247
+ - run : yarn test -- --full
248
248
# Run partial e2e suite on PRs only. Master will run the full e2e suite with sharding.
249
- - run : if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob=tests/{basic,ivy}/**" }
249
+ - run : if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob=tests/{basic,ivy}/**" }
250
250
251
251
e2e-cli-win :
252
252
<< : *defaults_win
@@ -259,8 +259,8 @@ jobs:
259
259
- run : node --version
260
260
- run : yarn --version
261
261
- run : yarn install --frozen-lockfile
262
- - run : yarn admin -- build
263
- - run : node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
262
+ - run : yarn admin -- build
263
+ - run : node tests\legacy-cli\run_e2e.js --nb-shards=$env:CIRCLE_NODE_TOTAL --shard=$env:CIRCLE_NODE_INDEX
264
264
265
265
workflows :
266
266
version : 2
0 commit comments