Skip to content

Javascript build

Javascript build #14

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: curl -sSf https://sh.rustup.rs | sh -s -- -y
# rust
- run: cargo build
- run: cargo check
- run: cargo test
# wasm
- run: cargo install wasm-pack
- run: wasm-pack build --target web
# js
- run: npm ci
- run: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash