<commit_before>name: Integrate React Native AdMob
on:
  schedule:
    - cron: 0 12 * * 1
  pull_request:
    branches:
      - master
jobs:
  integrate:
    name: Create React Native App and integrate React Native Admob
    runs-on: macOS-10.14
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: '10.x'
      - name: Install xmlstarlet
        run: brew install xmlstarlet
      - name: Install xcpretty
        run: gem install xcpretty
      - name: Configure Xcode
        run: sudo xcode-select --switch /Applications/Xcode_11.app
      - name: Install React Native CLI
        run: sudo npm install -g react-native-cli
      - name: Initialize React Native application
        run: react-native init ReactNativeAdMobExample
      - name: Add react-native-admob
        working-directory: ./ReactNativeAdMobExample
        run: yarn add react-native-admob@next
      - name: Configure Android Project
        working-directory: ./ReactNativeAdMobExample
        run: |
          xml ed -L \
            -s /manifest/application -t elem -n meta-data \
            -i /manifest/application/meta-data -t attr -n android:name -v "com.google.android.gms.ads.APPLICATION_ID" \
            -i /manifest/application/meta-data -t attr -n android:value -v "ca-app-pub-3940256099942544~1458002511" \
            ./android/app/src/main/AndroidManifest.xml<commit_msg>Update macOS version for CI<commit_after>name: Integrate React Native AdMob
on:
  schedule:
    - cron: 0 12 * * 1
  pull_request:
    branches:
      - master
jobs:
  integrate:
    name: Create React Native App and integrate React Native Admob
    runs-on: macOS-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: '10.x'
      - name: Install xmlstarlet
        run: brew install xmlstarlet
      - name: Install xcpretty
        run: gem install xcpretty
      - name: Configure Xcode
        run: sudo xcode-select --switch /Applications/Xcode_11.app
      - name: Install React Native CLI
        run: sudo npm install -g react-native-cli
      - name: Initialize React Native application
        run: react-native init ReactNativeAdMobExample
      - name: Add react-native-admob
        working-directory: ./ReactNativeAdMobExample
        run: yarn add react-native-admob@next
      - name: Configure Android Project
        working-directory: ./ReactNativeAdMobExample
        run: |
          xml ed -L \
            -s /manifest/application -t elem -n meta-data \
            -i /manifest/application/meta-data -t attr -n android:name -v "com.google.android.gms.ads.APPLICATION_ID" \
            -i /manifest/application/meta-data -t attr -n android:value -v "ca-app-pub-3940256099942544~1458002511" \
            ./android/app/src/main/AndroidManifest.xml
{'fraction_non_alphanumeric': 0.09027535726734054, 'fraction_numerical': 0.026490066225165563, 'mean_word_length': 2.16079295154185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5371816', 'n_tokens_mistral': 925, 'n_tokens_neox': 865, 'n_words': 243}