mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-11-01 05:43:11 +08:00 
			
		
		
		
	feat: fix
This commit is contained in:
		
							
								
								
									
										54
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										54
									
								
								.github/workflows/e2e_android.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,41 +4,41 @@ on: push | |||||||
| jobs: | jobs: | ||||||
|   e2e-android: |   e2e-android: | ||||||
|     runs-on: macos-latest |     runs-on: macos-latest | ||||||
|     steps: |     # steps: | ||||||
|       - name: Checkout repository |     #   - name: Checkout repository | ||||||
|         uses: actions/checkout@v3 |     #     uses: actions/checkout@v3 | ||||||
|  |  | ||||||
|       - name: Setup Node.js |     #   - name: Setup Node.js | ||||||
|         uses: actions/setup-node@v3 |     #     uses: actions/setup-node@v3 | ||||||
|         with: |     #     with: | ||||||
|           cache: yarn |     #       cache: yarn | ||||||
|           node-version-file: .nvmrc |     #       node-version-file: .nvmrc | ||||||
|  |  | ||||||
|       - name: Install Yarn dependencies |     #   - name: Install Yarn dependencies | ||||||
|         run: yarn --frozen-lockfile --prefer-offline |     #     run: yarn --frozen-lockfile --prefer-offline | ||||||
|  |  | ||||||
|       - name: Setup Java |     #   - name: Setup Java | ||||||
|         uses: actions/setup-java@v3 |     #     uses: actions/setup-java@v3 | ||||||
|         with: |     #     with: | ||||||
|           cache: gradle |     #       cache: gradle | ||||||
|           distribution: temurin |     #       distribution: temurin | ||||||
|           java-version: 17 |     #       java-version: 17 | ||||||
|  |  | ||||||
|       - name: Cache Detox build |     #   - name: Cache Detox build | ||||||
|         id: cache-detox-build |     #     id: cache-detox-build | ||||||
|         uses: actions/cache@v3 |     #     uses: actions/cache@v3 | ||||||
|         with: |     #     with: | ||||||
|           path: android/app/build |     #       path: android/app/build | ||||||
|           key: ${{ runner.os }}-detox-build |     #       key: ${{ runner.os }}-detox-build | ||||||
|           restore-keys: | |     #       restore-keys: | | ||||||
|             ${{ runner.os }}-detox-build |     #         ${{ runner.os }}-detox-build | ||||||
|  |  | ||||||
|       - name: Detox build |     #   - name: Detox build | ||||||
|         run: yarn build:android-debug |     #     run: yarn build:android-debug | ||||||
|  |  | ||||||
|       - name: Get device name |       - name: Get device name | ||||||
|         id: device |         id: device | ||||||
|         run: node -e "console.log('AVD_NAME=' + require('./.detoxrc').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT |         run: node -e "console.log('AVD_NAME=' + require('./Example/testHotUpdate/detox.config.js').devices.emulator.device.avdName)" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|       - name: Detox test |       - name: Detox test | ||||||
|         uses: reactivecircus/android-emulator-runner@v2 |         uses: reactivecircus/android-emulator-runner@v2 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 steven
					steven