Fixed broken postinstall script
This commit is contained in:
parent
ddf0ce4572
commit
e9e514be59
|
@ -9,6 +9,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: yarn
|
run: yarn
|
||||||
|
- name: Install example
|
||||||
|
run: yarn bootstrap
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd example/ios && xcodebuild -workspace CameraKitExample.xcworkspace -configuration Debug -scheme CameraKitExample -sdk iphoneos build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
|
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:
|
build-example-android:
|
||||||
|
@ -21,5 +23,7 @@ jobs:
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@v1
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: yarn
|
run: yarn
|
||||||
|
- name: Install example
|
||||||
|
run: yarn bootstrap
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd example/android && ./gradlew assembleDebug
|
run: cd example/android && ./gradlew assembleDebug
|
||||||
|
|
|
@ -8,6 +8,8 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: yarn --ignore-scripts
|
run: yarn
|
||||||
|
- name: Install modules
|
||||||
|
run: yarn bootstrap
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"release:beta": "yarn clean && yarn build && yarn publish --tag beta --verbose",
|
"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",
|
"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",
|
"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",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.js",
|
"module": "dist/index.js",
|
||||||
|
|
Loading…
Reference in New Issue