chore: fix mobile install script
This commit is contained in:
2
.github/workflows/mobile.build-dev.yml
vendored
2
.github/workflows/mobile.build-dev.yml
vendored
@@ -65,7 +65,7 @@ jobs:
|
|||||||
- name: Ruby Setup for Fastlane
|
- name: Ruby Setup for Fastlane
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install && yarn install:pods
|
||||||
- name: Set ssh connection to Github
|
- name: Set ssh connection to Github
|
||||||
uses: webfactory/ssh-agent@v0.4.1
|
uses: webfactory/ssh-agent@v0.4.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/mobile.build-prod.yml
vendored
2
.github/workflows/mobile.build-prod.yml
vendored
@@ -60,7 +60,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV
|
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)" >> $GITHUB_ENV
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install && yarn install:pods
|
||||||
- name: Set ssh connection to Github
|
- name: Set ssh connection to Github
|
||||||
uses: webfactory/ssh-agent@v0.4.1
|
uses: webfactory/ssh-agent@v0.4.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ This is a React Native implementation of Standard Notes. React Native allows us
|
|||||||
4. Install project dependencies via:
|
4. Install project dependencies via:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
yarn install
|
yarn install && yarn install:pods
|
||||||
```
|
```
|
||||||
|
|
||||||
We have two flavors of the app:
|
We have two flavors of the app:
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
"lint:prettier": "prettier ./src --write",
|
"lint:prettier": "prettier ./src --write",
|
||||||
"tsc": "tsc --noEmit",
|
"tsc": "tsc --noEmit",
|
||||||
"start": "react-native start",
|
"start": "react-native start",
|
||||||
"postinstall": "patch-package && yarn pod-install ios",
|
"install:pods": "yarn pod-install ios",
|
||||||
|
"postinstall": "patch-package",
|
||||||
"android:bundle": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/build/intermediates/res/merged/release/",
|
"android:bundle": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/build/intermediates/res/merged/release/",
|
||||||
"upgrade:snjs": "ncu -u '@standardnotes/*' && yarn"
|
"upgrade:snjs": "ncu -u '@standardnotes/*' && yarn"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user