Skip to content

Commit

Permalink
Fixed broken postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlac committed Jul 20, 2023
1 parent ddf0ce4 commit e9e514b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
4 changes: 3 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e9e514b

Please sign in to comment.