From 981608d4efad27c150581ed4cd476fc603b55c03 Mon Sep 17 00:00:00 2001 From: Kamil Sobol Date: Tue, 21 Mar 2023 15:42:00 -0700 Subject: [PATCH] chore: use nodejs 14.x compatible with CDK (#12280) * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK --- .circleci/config.base.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.base.yml b/.circleci/config.base.yml index f8bd05a7a24..9f473197591 100644 --- a/.circleci/config.base.yml +++ b/.circleci/config.base.yml @@ -148,6 +148,7 @@ jobs: condition: equal: [*windows-e2e-executor-xlarge, << parameters.os >>] steps: + - install_node14_windows - checkout - run: yarn config set script-shell $(which bash) - run: yarn run production-build @@ -468,6 +469,7 @@ jobs: condition: equal: [*windows-e2e-executor-medium, << parameters.os >>] steps: + - install_node14_windows - attach_workspace: at: ~/. - run: @@ -1409,3 +1411,20 @@ commands: exit 1 fi when: always + install_node14_windows: + description: Install Node 14 on Windows + steps: + - run: + name: Install Node 14 + command: | + nvm version + nvm install 14.18 + nvm use 14.18 + nvm ls + - run: + name: Check Node, install yarn + command: | + node --version + npm --version + npm install -g yarn + yarn --version