Skip to content

Bump version for v0.3.6 (unreleased) #456

Bump version for v0.3.6 (unreleased)

Bump version for v0.3.6 (unreleased) #456

Workflow file for this run

name: wasm-demo build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./demos/web-editor/web
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-wasm
- name: Install wasm target
run: rustup target add wasm32-unknown-unknown
- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install npm dependencies
run: npm install
- name: Check Prettier
run: npx prettier . --check
- name: Build wasm-demo
run: npm run dist