[FIX] Remove react-native global installs (#1886)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Neil Agarwal 2020-03-18 02:06:13 +05:30 committed by GitHub
parent b26f04b35c
commit 48f90fb9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View File

@ -190,11 +190,6 @@ jobs:
name: Restore NPM cache
key: node-modules-{{ checksum "yarn.lock" }}
- run:
name: Install React Native CLI
command: |
npm i -g react-native-cli
- run:
name: Install NPM modules
command: |
@ -308,7 +303,6 @@ jobs:
- run:
name: Install NPM modules
command: |
yarn global add react-native react-native-cli
yarn
- run:

View File

@ -56,16 +56,15 @@ Follow the [React Native Getting Started Guide](https://facebook.github.io/react
```bash
$ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
$ cd Rocket.Chat.ReactNative
$ yarn global add react-native-cli
$ yarn
```
- Run application
```bash
$ react-native run-ios
$ npx react-native run-ios
```
```bash
$ react-native run-android
$ npx react-native run-android
```
### Running single server