11name : CI
2- on :
2+ on :
33 pull_request :
44 types : [opened, synchronize, reopened]
55 workflow_dispatch :
66
7- concurrency :
7+ concurrency :
88 group : ${{ github.workflow }}-${{ github.head_ref }}
99 cancel-in-progress : true
1010
4343 ruby-version : 2.7
4444 bundler-cache : true
4545
46- - name : Setup node 16
46+ - name : Setup node
4747 if : steps.verify-dev-changed-files.outputs.any_changed == 'true'
4848 uses : actions/setup-node@v3
4949 with :
@@ -108,7 +108,7 @@ jobs:
108108 ruby-version : 2.7
109109 bundler-cache : true
110110
111- - name : Setup node 16
111+ - name : Setup node
112112 uses : actions/setup-node@v3
113113 if : steps.verify-android-changed-files.outputs.any_changed == 'true'
114114 with :
@@ -120,7 +120,7 @@ jobs:
120120 with :
121121 distribution : ' zulu'
122122 java-version : 17
123-
123+
124124 - name : Install Gradle dependencies
125125 if : steps.cache-gradle.outputs.cache-hit != 'true' && steps.verify-android-changed-files.outputs.any_changed == 'true'
126126 run : |
@@ -129,7 +129,7 @@ jobs:
129129
130130 - name : Run unit tests
131131 if : steps.verify-android-changed-files.outputs.any_changed == 'true'
132- run : |
132+ run : |
133133 cd example/android
134134 ./gradlew test --stacktrace
135135
@@ -154,7 +154,7 @@ jobs:
154154 name : Android Test
155155 strategy :
156156 matrix :
157- api-level : [24, 25, 29, 30, 31]
157+ api-level : [24, 30, 31]
158158 target : [default]
159159 steps :
160160 - name : Checkout the code
@@ -201,7 +201,7 @@ jobs:
201201 ruby-version : 2.7
202202 bundler-cache : true
203203
204- - name : Setup node 16
204+ - name : Setup node
205205 uses : actions/setup-node@v3
206206 if : steps.verify-android-changed-files.outputs.any_changed == 'true'
207207 with :
@@ -265,7 +265,7 @@ jobs:
265265 example/node_modules
266266 key : ${{ runner.os }}-nodeModules-${{ hashFiles('package.json') }}-${{ hashFiles('example/package.json') }}
267267 fail-on-cache-miss : true
268-
268+
269269 - name : Cache Pods
270270 id : cache-pods
271271 uses : actions/cache@v3
@@ -280,12 +280,12 @@ jobs:
280280 with :
281281 ruby-version : 2.7
282282 bundler-cache : true
283-
283+
284284 - name : Install Cocoapods
285285 if : steps.verify-iOS-changed-files.outputs.any_changed == 'true'
286286 run : gem install cocoapods -v ${{ matrix.cocoapods }}
287287
288- - name : Setup node 16
288+ - name : Setup node
289289 if : steps.verify-iOS-changed-files.outputs.any_changed == 'true'
290290 uses : actions/setup-node@v3
291291 with :
@@ -304,13 +304,13 @@ jobs:
304304
305305 - name : Build
306306 if : steps.verify-iOS-changed-files.outputs.any_changed == 'true'
307- run : |
307+ run : |
308308 cd example/ios
309309 xcodebuild -workspace ImageMarkerExample.xcworkspace -scheme ImageMarkerExample -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12' | xcpretty
310310
311311 - name : Test
312312 if : steps.verify-iOS-changed-files.outputs.any_changed == 'true'
313- run : |
313+ run : |
314314 cd example/ios
315315 xcodebuild -workspace ImageMarkerExample.xcworkspace -scheme ImageMarkerExample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12' test | xcpretty
316316
0 commit comments