Skip to content

Commit 5385fd5

Browse files
clydinalan-agius4
authored andcommitted
ci: set Node.js v14 as the default version for jobs
All PR jobs will use Node.js v14. A Node.js v12 E2E job is now run on release branches.
1 parent 44c991d commit 5385fd5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ orbs:
1717
## IMPORTANT
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.
20-
var_1: &cache_key v1-angular_devkit-12.18-{{ checksum "yarn.lock" }}
21-
var_1_win: &cache_key_win v1-angular_devkit-win-12.18-{{ checksum "yarn.lock" }}
22-
var_3: &default_nodeversion "12.18"
20+
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" }}
22+
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
2525
# https://circleci.com/blog/deep-diving-into-circleci-workspaces/
@@ -75,8 +75,8 @@ commands:
7575
at: *workspace_location
7676
setup_windows:
7777
steps:
78-
- run: nvm install 12.13
79-
- run: nvm use 12.13
78+
- run: nvm install 14.15
79+
- run: nvm use 14.15
8080
- run: npm install -g [email protected]
8181
- run: node --version
8282
- run: yarn --version
@@ -338,8 +338,8 @@ workflows:
338338
- renovate/angular
339339
- master
340340
- e2e-cli:
341-
name: e2e-cli-node-14
342-
nodeversion: "14.15"
341+
name: e2e-cli-node-12
342+
nodeversion: "12.18"
343343
<<: *only_release_branches
344344
requires:
345345
- e2e-cli

0 commit comments

Comments
 (0)