Skip to content

Commit 8cfc133

Browse files
committed
build js ci
1 parent 6e614ae commit 8cfc133

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,16 @@ jobs:
277277

278278
- name: Generate code snippets
279279
run: yarn cli snippets javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
280+
281+
- name: Build the snippets to check validity
282+
run: yarn cli build snippets javascript
280283

281284
- name: Generate code guides
282285
run: yarn cli guides javascript ${{ fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).toRun }}
283286

287+
- name: Build the guides to check validity
288+
run: yarn cli build guides javascript
289+
284290
- name: Zip artifact before storing
285291
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/**"
286292

0 commit comments

Comments
 (0)