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 }}