From efb741af7924b1a67a72825a5d2f5ad3a4a0ba63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Jona=C5=A1?= Date: Wed, 2 Jun 2021 14:06:44 +0200 Subject: [PATCH] chore(testing): update circleci node/yarn versions (#5868) --- .circleci/config.yml | 8 ++++---- jest.preset.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a723f2724962e..0007771fd9f3a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ executors: linux: working_directory: *working_directory docker: - - image: cimg/node:12.20-browsers + - image: cimg/node:14.17-browsers windows: working_directory: *working_directory @@ -27,9 +27,9 @@ commands: condition: equal: [<< parameters.os >>, windows] steps: - - run: nvm install 12.20 - - run: nvm use 12.20 - - run: npm install -g yarn@1.19.0 + - run: nvm install 14.17 + - run: nvm use 14.17 + - run: npm install -g yarn@1.22.10 - restore_cache: name: Restore Yarn Package Cache keys: diff --git a/jest.preset.js b/jest.preset.js index b41e69db8eff6..f4300654706f4 100644 --- a/jest.preset.js +++ b/jest.preset.js @@ -1,6 +1,7 @@ const nxPreset = require('@nrwl/jest/preset'); process.env.npm_config_registry = `http://localhost:4872`; +process.env.YARN_REGISTRY = `http://localhost:4872`; module.exports = { ...nxPreset,