Riven/test-wasm.bash

13 lines
242 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -euxo pipefail
export RGAPI_KEY="$(cat apikey.txt)"
cd riven
# Ensure builds with tracing.
wasm-pack build -- --features nightly,tracing
# Run tests.
wasm-pack test --node -- --no-fail-fast --features nightly,deny-unknown