Skip to content

Commit

Permalink
iOS Workflow
Browse files Browse the repository at this point in the history
Updated iOS workflow
Updated React Native
Cleaned up some code
  • Loading branch information
Alex Risch authored and Alex Risch committed Jan 31, 2024
1 parent 57c3788 commit e538eab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
name: Android Tests
on:
pull_request:
# paths:
# - 'android/**'
paths:
- 'android/**'
- 'package.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- uses: actions/setup-node@v3
- run: yarn
- run: cd android && ./gradlew assembleDebug
3 changes: 2 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
pull_request:
paths:
- 'ios/**'
- 'package.json'
jobs:
build:
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v2
with:
Expand Down
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
const esModules = ['@react-native', 'react-native', 'i18n-js'].join('|');

module.exports = {
preset: 'react-native',
transformIgnorePatterns: [`node_modules/(?!${esModules})`],
};

0 comments on commit e538eab

Please sign in to comment.