Riven/test-wasm.bash

13 lines
227 B
Bash

#!/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 -- --features nightly,deny-unknown