@@ -161,7 +161,7 @@ jobs:
161161 type : minimal
162162
163163 - name : Building specs
164- run : yarn cli build specs ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).toRun }}
164+ run : yarn cli build specs
165165
166166 - name : Store bundled specs
167167 uses : actions/upload-artifact@v4
@@ -210,7 +210,7 @@ jobs:
210210 version : ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).version }}
211211
212212 - name : Generate clients
213- run : yarn cli generate javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
213+ run : yarn cli generate javascript
214214
215215 - name : Update `yarn.lock` for JavaScript
216216 run : cd clients/algoliasearch-client-javascript && YARN_ENABLE_HARDENED_MODE=0 YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
@@ -219,13 +219,13 @@ jobs:
219219 run : cd clients/algoliasearch-client-javascript && yarn build
220220
221221 - name : Build the playground
222- run : yarn cli build playground javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
222+ run : yarn cli build playground javascript
223223
224224 - name : Build the browser playground
225225 run : yarn workspace javascript-playground-browser build
226226
227227 - name : Run common and requester tests
228- run : cd clients/algoliasearch-client-javascript && yarn test ${{ !contains(fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun, 'algoliasearch') && '--ignore algoliasearch' || '' }}
228+ run : cd clients/algoliasearch-client-javascript && yarn test
229229
230230 - name : Test JavaScript bundle size
231231 if : ${{ startsWith(github.head_ref, 'chore/prepare-release-') }}
@@ -239,7 +239,7 @@ jobs:
239239 run : rm -rf ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).testsToDelete }}
240240
241241 - name : Generate CTS
242- run : yarn cli cts generate javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
242+ run : yarn cli cts generate javascript
243243
244244 # JavaScript test deps (needs to be cached because they are huge and inefficient)
245245 - name : Get yarn js test cache directory path
@@ -260,32 +260,32 @@ jobs:
260260 key : node-modules-tests-${{ hashFiles('tests/output/javascript/yarn.lock') }}
261261
262262 - name : Run unit CTS
263- run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --no-e2e
263+ run : yarn cli cts run javascript --no-e2e
264264
265265 - name : Run e2e CTS
266266 id : cts-e2e
267267 continue-on-error : true
268268 if : ${{ !github.event.pull_request.head.repo.fork && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
269- run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --no-client --no-requests
269+ run : yarn cli cts run javascript --no-client --no-requests
270270
271271 - name : Retry e2e CTS
272272 if : ${{ steps.cts-e2e.outcome == 'failure' }}
273- run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --no-client --no-requests
273+ run : yarn cli cts run javascript --no-client --no-requests
274274
275275 - name : Run benchmarks
276- run : yarn cli cts run javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }} --benchmark --no-client --no-requests --no-e2e
276+ run : yarn cli cts run javascript --benchmark --no-client --no-requests --no-e2e
277277
278278 - name : Generate code snippets
279- run : yarn cli snippets javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
279+ run : yarn cli snippets javascript
280280
281281 - name : Build the snippets to check validity
282- run : yarn cli build snippets javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
282+ run : yarn cli build snippets javascript
283283
284284 - name : Generate code guides
285- run : yarn cli guides javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
285+ run : yarn cli guides javascript
286286
287287 - name : Build the guides to check validity
288- run : yarn cli build guides javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
288+ run : yarn cli build guides javascript
289289
290290 - name : Zip artifact before storing
291291 run : zip -r -y clients-javascript.zip clients/algoliasearch-client-javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).testsToStore }} ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).guidesToStore }} -x "**/node_modules**" "**/.yarn/cache/**" "**/.yarn/install-state.gz" "**/build/**" "**/dist/**" "**/.gradle/**" "**/bin/**" "**/.nx/**"
@@ -334,7 +334,7 @@ jobs:
334334 version : ${{ matrix.client.version }}
335335
336336 - name : Generate clients
337- run : yarn cli generate ${{ matrix.client.language }} ${{ matrix.client.toRun }}
337+ run : yarn cli generate ${{ matrix.client.language }}
338338
339339 # no need to build the clients here, it will be done in the Run CTS step anyway.
340340
@@ -375,33 +375,33 @@ jobs:
375375 run : rm -rf ${{ matrix.client.testsToDelete }} || true
376376
377377 - name : Generate CTS
378- run : yarn cli cts generate ${{ matrix.client.language }} ${{ matrix.client.toRun }} --language-version ${{ matrix.client.version }}
378+ run : yarn cli cts generate ${{ matrix.client.language }} --language-version ${{ matrix.client.version }}
379379
380380 - name : Run unit CTS
381- run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --no-e2e
381+ run : yarn cli cts run ${{ matrix.client.language }} --no-e2e
382382
383383 - name : Run e2e CTS
384384 id : cts-e2e
385385 continue-on-error : true
386386 if : ${{ !github.event.pull_request.head.repo.fork && !contains(format('{0} {1}', github.event.pull_request.title, github.event.head_commit.message), '[skip-e2e]') }}
387- run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --no-client --no-requests
387+ run : yarn cli cts run ${{ matrix.client.language }} --no-client --no-requests
388388
389389 - name : Retry e2e CTS
390390 if : ${{ steps.cts-e2e.outcome == 'failure' }}
391- run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --no-client --no-requests
391+ run : yarn cli cts run ${{ matrix.client.language }} --no-client --no-requests
392392
393393 - name : Run benchmarks
394394 if : ${{ matrix.client.isMainVersion }}
395- run : yarn cli cts run ${{ matrix.client.language }} ${{ matrix.client.toRun }} --benchmark --no-client --no-requests --no-e2e
395+ run : yarn cli cts run ${{ matrix.client.language }} --benchmark --no-client --no-requests --no-e2e
396396
397397 - name : Generate code snippets
398- run : yarn cli snippets ${{ matrix.client.language }} ${{ matrix.client.toRun }}
398+ run : yarn cli snippets ${{ matrix.client.language }}
399399
400400 - name : Build the snippets to check validity
401401 run : yarn cli build snippets ${{ matrix.client.language }}
402402
403403 - name : Generate code guides
404- run : yarn cli guides ${{ matrix.client.language }} ${{ matrix.client.toRun }}
404+ run : yarn cli guides ${{ matrix.client.language }}
405405
406406 - name : Build the guides to check validity
407407 run : yarn cli build guides ${{ matrix.client.language }}
@@ -449,7 +449,7 @@ jobs:
449449 version : ${{ fromJSON(needs.setup.outputs.KOTLIN_DATA).version }}
450450
451451 - name : Generate clients
452- run : yarn cli generate kotlin ${{ fromJSON(needs.setup.outputs.KOTLIN_DATA).toRun }}
452+ run : yarn cli generate kotlin
453453
454454 - name : Build clients for macOS
455455 id : build
@@ -501,7 +501,7 @@ jobs:
501501 version : ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).version }}
502502
503503 - name : Generate clients
504- run : yarn cli generate swift ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).toRun }}
504+ run : yarn cli generate swift
505505
506506 - name : Build clients
507507 run : yarn cli build clients swift
@@ -545,7 +545,7 @@ jobs:
545545 type : minimal
546546
547547 - name : Generate documentation specs with code snippets
548- run : yarn cli build specs ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).toRun }} --docs
548+ run : yarn cli build specs --docs
549549
550550 - name : Read benchmark results
551551 id : benchmark
0 commit comments