Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: RocketChat/Rocket.Chat.ReactNative
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: de2cb15310d7e506fdd256e873f583e1e175d764
Choose a base ref
..
head repository: RocketChat/Rocket.Chat.ReactNative
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a9f835c011766a4c8d99637ce1481c8b4b6d4762
Choose a head ref
Showing with 11 additions and 24 deletions.
  1. +11 −24 .circleci/config.yml
35 changes: 11 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
defaults: &defaults
working_directory: ~/repo

restore-cache-linux: &restore-cache-linux
restore-npm-cache-linux: &restore-npm-cache-linux
name: Restore NPM cache
key: node-modules-{{ checksum "yarn.lock" }}

install-npm-modules: &install-npm-modules
name: Install NPM modules
command: yarn

version: 2
jobs:
lint-testunit:
@@ -18,12 +22,9 @@ jobs:
steps:
- checkout

- restore_cache: *restore-cache-linux
- restore_cache: *restore-npm-cache-linux

- run:
name: Install NPM modules
command: |
yarn
- run: *install-npm-modules

- run:
name: Lint
@@ -76,11 +77,7 @@ jobs:
brew tap wix/brew
brew install wix/brew/applesimutils
- run:
name: Install NPM modules
command: |
yarn global add detox-cli
yarn
- run: *install-npm-modules

- run:
name: Rebuild Detox framework cache
@@ -137,11 +134,7 @@ jobs:
brew tap wix/brew
brew install wix/brew/applesimutils
- run:
name: Install NPM modules
command: |
yarn global add detox-cli
yarn
- run: *install-npm-modules

- run:
name: Rebuild Detox framework cache
@@ -192,10 +185,7 @@ jobs:
name: Restore NPM cache
key: node-modules-{{ checksum "yarn.lock" }}

- run:
name: Install NPM modules
command: |
yarn
- run: *install-npm-modules

- restore_cache:
name: Restore gradle cache
@@ -302,10 +292,7 @@ jobs:
set +e
nvm install 10
- run:
name: Install NPM modules
command: |
yarn
- run: *install-npm-modules

- run:
name: Update Fastlane