Skip to content

feat(visit): initial impl #2

feat(visit): initial impl

feat(visit): initial impl #2

Workflow file for this run

name: CI
on:
pull_request:
types: ['opened', 'reopened', 'synchronize']
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
name: Run test
steps:
- uses: actions/checkout@v2
- uses: buildjet/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: "npm"
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: install
run: |
npm install -g npm@latest
npm ci
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
rustup target add wasm32-wasi
rustup target add wasm32-unknown-unknown
- name: test
run: |
npm run build
- name: build
run: |
cargo check