Skip to content

Commit 0ad0054

Browse files
josephperrottthePunderWoman
authored andcommitted
build: update repository to node@16 locally (angular#44211)
As node 16 is now active LTS, updating to node 16 is a better choice for our own development. Notably its support for M1 chips is an important value add for us. PR Close angular#44211
1 parent 29c8fee commit 0ad0054

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ executors:
8686
type: string
8787
default: medium
8888
docker:
89-
- image: cimg/node:14.17.6@sha256:589b5e494173bfb48923fa8d29b010b4d17079ac98d08de95dd4a78e57f5aa0b
89+
- image: cimg/node:16.10.0
9090
resource_class: << parameters.resource_class >>
9191
working_directory: ~/ng
9292

@@ -96,7 +96,7 @@ executors:
9696
type: string
9797
default: medium
9898
docker:
99-
- image: cimg/node:14.17.6-browsers@sha256:aa6d08a04d13dd8aa18ae94be70a703c14dde0e99ea572e885e548f47f95eaa9
99+
- image: cimg/node:16.10.0-browsers
100100
resource_class: << parameters.resource_class >>
101101
working_directory: ~/ng
102102

.circleci/windows-env.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ copy .circleci\bazel.windows.rc ${Env:USERPROFILE}\.bazelrc
4141
####################################################################################################
4242
# Install specific version of node.
4343
####################################################################################################
44-
nvm install 14.17.6
45-
nvm use 14.17.6
44+
nvm install 16.10.0
45+
nvm use 16.10.0
4646

4747
# These Bazel prereqs aren't needed because the CircleCI image already includes them.
4848
# choco install yarn --version 1.16.0 --no-progress

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17.6
1+
16.10.0

WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ check_rules_nodejs_version(minimum_version_string = "2.2.0")
3232

3333
# Setup the Node.js toolchain
3434
node_repositories(
35-
node_version = "14.17.6",
35+
node_version = "16.10.0",
3636
package_json = ["//:package.json"],
3737
)
3838

integration/bazel/WORKSPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install
2626
# Setup the Node.js toolchain
2727
node_repositories(
2828
# Use same node version as root angular WORKSPACE since
29-
node_version = "14.17.6",
29+
node_version = "16.10.0",
3030
yarn_version = "1.22.11",
3131
)
3232

0 commit comments

Comments
 (0)