File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ inputs:
1515 default : ' armeabi-v7a,arm64-v8a,x86,x86_64'
1616
1717 module-to-install :
18- description : ' Module to install (example: "react-native-architectures" or "file: /path/to/module"))'
18+ description : ' Module to install (example: "react-native-architectures" or "/path/to/module"))'
1919 required : true
2020
2121 store-artifacts :
@@ -66,11 +66,13 @@ runs:
6666 set -x # print all executed commands
6767
6868 # Create new tmp React Native project
69- npx react-native@${{ inputs.rn-ver }} init ${{ env.APP_NAME }} --version ${{ inputs.rn-ver }}
69+ npx react-native@${{ inputs.rn-ver }} init ${{ env.APP_NAME }} --version ${{ inputs.rn-ver }} --skip-git-init --install-pods false
7070 cd ${{ env.APP_NAME }}
7171
7272 # Install my module
73- yarn add ${{ inputs.module-to-install }}
73+ # Yarn1 syntax: yarn add ${{ inputs.module-to-install }}
74+ # Yarn Berry (2+) syntax:
75+ yarn add @react-native-community/image-editor@portal:${{ inputs.module-to-install }}
7476
7577 # Debug info
7678 npx react-native@${{ inputs.rn-ver }} info
Original file line number Diff line number Diff line change 7171 arch : arm64-v8a
7272 new-arch-enabled : ${{ matrix.new_arch_enabled }}
7373 rn-ver : ${{ matrix.rn_ver }}
74- module-to-install : file: ${{ github.workspace }}
74+ module-to-install : ${{ github.workspace }}
7575 store-artifacts : true
7676 platform : android
7777
9393 with :
9494 new-arch-enabled : ${{ matrix.new_arch_enabled }}
9595 rn-ver : ${{ matrix.rn_ver }}
96- module-to-install : file: ${{ github.workspace }}
96+ module-to-install : ${{ github.workspace }}
9797 store-artifacts : true
9898 platform : ios
You can’t perform that action at this time.
0 commit comments