Skip to content

Update test.yml

Update test.yml #40

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- run: cargo test
wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Node.js setup
uses: actions/setup-node@v2
with:
node-version: 20
- run: npm install
working-directory: ./web
- run: npm run build
working-directory: ./web