Skip to content

Commit

Permalink
update sample app
Browse files Browse the repository at this point in the history
add .yarn
  • Loading branch information
zihejia committed May 10, 2024
1 parent 8481794 commit 487e83e
Show file tree
Hide file tree
Showing 55 changed files with 30,218 additions and 970 deletions.
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 --simulator "iPhone 15 Pro"
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

0 comments on commit 487e83e

Please sign in to comment.