Fixed broken postinstall script
This commit is contained in:
parent
ddf0ce4572
commit
e9e514be59
|
@ -9,6 +9,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
- name: Install example
|
||||
run: yarn bootstrap
|
||||
- name: Build
|
||||
run: cd example/ios && xcodebuild -workspace CameraKitExample.xcworkspace -configuration Debug -scheme CameraKitExample -sdk iphoneos build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
|
||||
build-example-android:
|
||||
|
@ -21,5 +23,7 @@ jobs:
|
|||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
- name: Install example
|
||||
run: yarn bootstrap
|
||||
- name: Build
|
||||
run: cd example/android && ./gradlew assembleDebug
|
||||
|
|
|
@ -8,6 +8,8 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install modules
|
||||
run: yarn --ignore-scripts
|
||||
run: yarn
|
||||
- name: Install modules
|
||||
run: yarn bootstrap
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"release:beta": "yarn clean && yarn build && yarn publish --tag beta --verbose",
|
||||
"release:local": "yarn clean && yarn build && tmp=$(mktemp) && yarn pack --filename $tmp.tar.gz && open -R $tmp.tar.gz",
|
||||
"start": "watchman watch-del-all && node node_modules/react-native/local-cli/cli.js start",
|
||||
"postinstall": "cd example/ && yarn && cd ./ios && pod install"
|
||||
"boostrap": "cd example/ && yarn && cd ./ios && pod install"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
|
|
Loading…
Reference in New Issue