Skip to content

Commit 01618e2

Browse files
committed
build: update to node version 18
Update required node engine to version 18 to align with cli. Angular CLI version 17 drops support for node version 16. Use node version 18.13.0 in .nvmrc to align with cli repo.
1 parent b423c0e commit 01618e2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# To validate changes, use an online parser, eg.
88
# http://yaml-online-parser.appspot.com/
99

10-
var_1: &docker_image cimg/node:16.14.0
11-
var_2: &docker-browser-image cimg/node:16.14.0-browsers
10+
var_1: &docker_image cimg/node:18.13.0
11+
var_2: &docker-browser-image cimg/node:18.13.0-browsers
1212

1313
# **Note**: When updating the beginning of the cache key, also update the cache key to match
1414
# the new cache key prefix. This allows us to take advantage of CircleCI's fallback caching.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.14.0
1+
18.13.0

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains")
5959

6060
nodejs_register_toolchains(
6161
name = "nodejs",
62-
node_version = "16.14.0",
62+
node_version = "18.13.0",
6363
)
6464

6565
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"license": "MIT",
1111
"engines": {
12-
"node": ">=16.0.0 <20.0.0",
12+
"node": ">=18.0.0 <20.0.0",
1313
"yarn": "^1.22.17",
1414
"npm": "Please use Yarn instead of NPM to install dependencies. See: https://yarnpkg.com/lang/en/docs/install/"
1515
},

0 commit comments

Comments
 (0)