feat(perf): Remove unused loads in mem2reg and last stores per functi… #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish documentation | |
on: | |
push: | |
branches: | |
- master | |
paths: [docs/**] | |
workflow_dispatch: | |
jobs: | |
publish-docs: | |
name: Publish docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout release branch | |
uses: actions/checkout@v4 | |
- name: Install Yarn dependencies | |
uses: ./.github/actions/setup | |
- name: Install wasm-bindgen-cli | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- name: Install wasm-opt | |
run: | | |
npm i wasm-opt -g | |
- name: Query active docs versions | |
run: yarn workspace docs version::stables | |
- name: Build docs for deploying | |
run: yarn workspaces foreach -Rpt --from docs run build | |
- name: Deploy to Netlify | |
uses: nwtgck/[email protected] | |
with: | |
publish-dir: './docs/build' | |
production-branch: master | |
production-deploy: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
enable-github-deployment: false | |
deploy-message: "Deploy from GitHub Actions for tag ${{ inputs.noir-ref }}" | |
enable-commit-comment: false | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
timeout-minutes: 1 |