Bump url-parse from 1.5.3 to 1.5.10 #142
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Android | |
| on: | |
| pull_request: | |
| branches: [master] | |
| push: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Cache node_modules/ | |
| uses: actions/cache@v1 | |
| with: | |
| path: node_modules | |
| key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.OS }}-yarn-cache- | |
| - run: yarn --frozen-lockfile | |
| - name: Cache gradle | |
| uses: actions/cache@v1 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Bundle JS | |
| run: npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ --verbose | |
| - name: Build APK (gradle) | |
| run: ./gradlew assembleDebug --no-daemon | |
| working-directory: ./android | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v1 | |
| with: | |
| name: Debug APK | |
| path: android/app/build/outputs/apk/debug/app-debug.apk |