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:
15
15
default : ' armeabi-v7a,arm64-v8a,x86,x86_64'
16
16
17
17
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"))'
19
19
required : true
20
20
21
21
store-artifacts :
@@ -66,11 +66,13 @@ runs:
66
66
set -x # print all executed commands
67
67
68
68
# 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
70
70
cd ${{ env.APP_NAME }}
71
71
72
72
# 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 }}
74
76
75
77
# Debug info
76
78
npx react-native@${{ inputs.rn-ver }} info
Original file line number Diff line number Diff line change 71
71
arch : arm64-v8a
72
72
new-arch-enabled : ${{ matrix.new_arch_enabled }}
73
73
rn-ver : ${{ matrix.rn_ver }}
74
- module-to-install : file: ${{ github.workspace }}
74
+ module-to-install : ${{ github.workspace }}
75
75
store-artifacts : true
76
76
platform : android
77
77
93
93
with :
94
94
new-arch-enabled : ${{ matrix.new_arch_enabled }}
95
95
rn-ver : ${{ matrix.rn_ver }}
96
- module-to-install : file: ${{ github.workspace }}
96
+ module-to-install : ${{ github.workspace }}
97
97
store-artifacts : true
98
98
platform : ios
You can’t perform that action at this time.
0 commit comments