Skip to content

Commit 9b25034

Browse files
clydinalan-agius4
authored andcommitted
ci: adjust Windows CI Node.js version to 12.22.1
Webpack 4 profiling mode fails on Windows with Node.js 14.
1 parent a5d723c commit 9b25034

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ orbs:
1818
# Windows needs its own cache key because binaries in node_modules are different.
1919
# See https://circleci.com/docs/2.0/caching/#restoring-cache for how prefixes work in CircleCI.
2020
var_1: &cache_key v1-angular_devkit-14.15-{{ checksum "yarn.lock" }}
21-
var_1_win: &cache_key_win v1-angular_devkit-win-14.15-{{ checksum "yarn.lock" }}
21+
var_1_win: &cache_key_win v1-angular_devkit-win-12.22-{{ checksum "yarn.lock" }}
2222
var_3: &default_nodeversion "14.15"
2323
# Workspace initially persisted by the `setup` job, and then enhanced by `setup-and-build-win`.
2424
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
@@ -75,8 +75,8 @@ commands:
7575
at: *workspace_location
7676
setup_windows:
7777
steps:
78-
- run: nvm install 14.15
79-
- run: nvm use 14.15
78+
- run: nvm install 12.22.1
79+
- run: nvm use 12.22.1
8080
- run: npm install -g [email protected]
8181
- run: node --version
8282
- run: yarn --version
@@ -294,7 +294,7 @@ jobs:
294294
- custom_attach_workspace
295295
- setup_windows
296296
# Run partial e2e suite on PRs only. Master will run the full e2e suite with sharding.
297-
- run: if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob={tests/basic/**,tests/i18n/extract-ivy*.ts}" }
297+
- run: if (Test-Path env:CIRCLE_PR_NUMBER) { node tests\legacy-cli\run_e2e.js "--glob={tests/basic/**,tests/i18n/extract-ivy*.ts,tests/build/profile.ts}" }
298298

299299
e2e-cli-win:
300300
executor: windows-executor

0 commit comments

Comments
 (0)