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
This commit is contained in:
Elias Nahum 2021-06-05 11:40:08 -04:00 committed by GitHub
parent e2bb6497df
commit 37c74ecef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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