From 12366109fc757d9100b87a72a9918634b472d0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro=20Sousa?= Date: Tue, 7 Nov 2023 14:33:34 +0000 Subject: [PATCH] chore: fixing autogenned docs for publish-docs (#3447) --- .github/workflows/publish-docs.yml | 31 +++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 9bd9e3b747a..b1dfd79fe70 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -28,13 +28,42 @@ jobs: uses: actions/setup-node@v2 with: node-version: '18' - + + - name: Install wasm-bindgen-cli + uses: taiki-e/install-action@v2 + with: + tool: wasm-bindgen-cli@0.2.86 + + - name: Install wasm-opt + run: | + npm i wasm-opt -g + - name: Install Yarn run: npm install -g yarn - name: Install Yarn dependencies run: yarn + - name: Build acvm_js + run: yarn workspace @noir-lang/acvm_js build + + - name: Build noirc_abi + run: yarn workspace @noir-lang/noirc_abi build + + - name: Build noir_js_types + run: yarn workspace @noir-lang/types build + + - name: Build barretenberg wrapper + run: yarn workspace @noir-lang/backend_barretenberg build + + - name: Run noir_js + run: | + yarn workspace @noir-lang/noir_js build + + - name: Build docs + run: + yarn workspace docs build + - name: Cut a new version working-directory: ./docs run: yarn docusaurus docs:version ${{ inputs.tag }}