Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI issues for both iOS and Android and update the sample app #241

Merged
merged 2 commits into from
May 10, 2024
Merged
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
13 changes: 10 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-java@v4
with:
distribution: "temurin" # See 'Supported distributions' for available options
java-version: "17"
- run: npm install
- run: npm install -g react-native-cli
- run: npm i react-native-gradle-plugin
- name: Test Integration - Install dependencies
working-directory: ./Samples/SimpleMixpanel
run: yarn install
Expand All @@ -59,7 +65,7 @@ jobs:
profile: Nexus 6
arch: x86_64
working-directory: ./Samples/SimpleMixpanel
script: yarn android
script: react-native run-android

test_ios:
runs-on: macos-latest
Expand All @@ -75,12 +81,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm install -g react-native-cli
- name: Test Integration - Install dependencies
working-directory: ./Samples/SimpleMixpanel
run: yarn install
run: npm install
- name: Setup iOS
working-directory: ./Samples/SimpleMixpanel/ios
run: pod install --repo-update
- name: Test iOS
working-directory: ./Samples/SimpleMixpanel
run: yarn ios
run: react-native run-ios
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
# node.js
node_modules/
npm-debug.log
yarn.lock
yarn-error.log
package-lock.json
*.tgz

# Xcode
Expand Down
Loading
Loading