Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/android-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ jobs:
- name: Install dependencies
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_sandbox.sock
run: |
yarn install && yarn setup
run: yarn install

- name: Check for frozen lockfile
run: ./scripts/check-lockfile.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Install dependencies
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_sandbox.sock
run: yarn install && yarn setup
run: yarn install

- name: Rock Build - iOS simulator
id: rock-build-simulator
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
- name: Install dependencies
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_sandbox.sock
run: yarn install && yarn setup
run: yarn install

- name: Set up Ruby
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Install dependencies
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_sandbox.sock
run: yarn install && yarn setup
run: yarn install

- name: Rock Remote Build - iOS simulator
id: rock-remote-build-ios
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
- name: Install secret tools
run: sudo apt install libsecret-tools

- name: Setup env key
uses: ./.github/actions/ssh/
with:
name: env
key: ${{ secrets.DEPLOY_PKEY_DOTENV_REPO }}

- name: Setup scripts key
uses: ./.github/actions/ssh/
with:
Expand All @@ -40,15 +34,6 @@ jobs:
name: sandbox
key: ${{ secrets.DEPLOY_PKEY_SANDBOX_REPO }}

- name: Setup env
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_env.sock
run: |
git clone git@github.com:rainbow-me/rainbow-env.git
mv rainbow-env/dotenv .env
mv rainbow-env/android/app/google-services.json android/app/google-services.json
rm -rf rainbow-env
sed -i "s/IS_TESTING=false/IS_TESTING=true/" .env
- name: Setup scripts
env:
CI_SCRIPTS: ${{ secrets.CI_SCRIPTS }}
Expand All @@ -73,8 +58,7 @@ jobs:
- name: Install dependencies
env:
SSH_AUTH_SOCK: /tmp/ssh_agent_sandbox.sock
run: |
yarn install && yarn setup
run: yarn install

- name: Check for frozen lockfile
run: ./scripts/check-lockfile.sh
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ coverage-ts

# Generated TypeScript declarations
src/languages/types-generated.d.ts
__generated__/

# graphql codegen
src/graphql/config.js
Expand All @@ -128,7 +127,6 @@ InjectedJSBundle.js.LICENSE.txt
!.yarn/sdks
!.yarn/versions

src/references/networks.json
# Expo
.expo
dist/
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rainbow-scripts
.next
.vscode
__generated__
src/references/networks.json
coverage
InjectedJSBundle.js
.yarn
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Set up these **before** running `yarn install`, as the postinstall script reads
in this project.
3. Clone [`rainbow-me/rainbow-scripts`](https://github.com/rainbow-me/rainbow-scripts)
into the project root (the postinstall prebuild hooks depend on it).
4. Install dependencies and run setup: `yarn install && yarn setup`
4. Install dependencies: `yarn install`

### External contributors

Expand All @@ -55,7 +55,7 @@ Set up these **before** running `yarn install`, as the postinstall script reads
- Imgix: https://www.imgix.com/
2. Provide your own `google-services.json` in `android/app/` from a personal
Firebase project registered under the package name `me.rainbow`.
3. Install dependencies and run setup: `yarn install && yarn setup`
3. Install dependencies: `yarn install`

The iOS `GoogleService-Info.plist` is already in the repo and gets its API key
patched by the postinstall script from `GOOGLE_SERVICE_API_KEY` in your `.env`.
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"version": "2.0.21-1",
"private": true,
"scripts": {
"setup": "yarn graphql-codegen:install && yarn ds:install && yarn graphql-codegen && yarn fetch:networks",
"setup-ci": "./scripts/setup-ci.sh",
"codegen": "yarn graphql-codegen:install && yarn graphql-codegen && yarn fetch:networks",
"adb-all": "adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {}",
"android": "react-native run-android --main-activity MainActivityog",
"android:apk": "yarn gradle assembleRelease && yarn uninstall:android && yarn android:load-apk",
Expand All @@ -25,11 +24,11 @@
"rc-push": "./scripts/rc-push.sh",
"ds:install": "cd src/design-system/docs && yarn install",
"ds": "cd src/design-system/docs && yarn dev",
"fast": "yarn install && yarn setup && yarn install-pods-fast",
"fast": "yarn install && yarn install-pods-fast",
"gradle": "cd android && ./gradlew",
"anvil": "sh ./scripts/anvil.sh",
"install-all": "yarn install && yarn setup && yarn install-pods",
"install-all-no-flipper": "yarn install && yarn setup && yarn install-pods-no-flipper",
"install-all": "yarn install && yarn install-pods",
"install-all-no-flipper": "yarn install && yarn install-pods-no-flipper",
"install-bundle": "bundle install",
"install-pods": "cd ios && bundle exec pod install --repo-update && cd ..",
"install-pods-fast": "cd ios && bundle exec pod install && cd ..",
Expand Down
11 changes: 0 additions & 11 deletions scripts/setup-ci.sh

This file was deleted.

Loading
Loading