Skip to content

Bump kittycad-modeling-cmds from 0.2.71 to 0.2.72 in /src/wasm-lib (#… #1169

Bump kittycad-modeling-cmds from 0.2.71 to 0.2.72 in /src/wasm-lib (#…

Bump kittycad-modeling-cmds from 0.2.71 to 0.2.72 in /src/wasm-lib (#… #1169

name: Build and Store WASM
on:
push:
branches:
- main
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache wasm
uses: Swatinem/rust-cache@v2
with:
workspaces: './src/wasm-lib'
- name: build wasm
run: yarn build:wasm
# Upload the WASM bundle as an artifact
- uses: actions/upload-artifact@v3
with:
name: wasm-bundle
path: src/wasm-lib/pkg