From 37c74ecef0b9912446a7e785ef31cd6a5e46e900 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Sat, 5 Jun 2021 11:40:08 -0400 Subject: [PATCH] set npm version as part of the npm-dependencies CI task (#5427) * set npm version as part of the npm-dependencies CI task * Set branch name to only build ios-simulator --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d696730ee..596a8c2a1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,6 +92,8 @@ commands: npm-dependencies: description: "Get JavaScript dependencies" steps: + - node/install-npm: + version: '6.14.11' - restore_cache: name: Restore npm cache key: v2-npm-{{ checksum "package.json" }}-{{ arch }} @@ -159,8 +161,6 @@ commands: steps: - checkout: path: ~/mattermost-mobile - - node/install-npm: - version: '6.14.11' - npm-dependencies - pods-dependencies - assets @@ -590,6 +590,7 @@ workflows: - /^build-\d+$/ - /^build-ios-\d+$/ - /^build-ios-beta-\d+$/ + - /^build-ios-sim-\d+$/ - github-release: context: mattermost-mobile-unsigned