Riven/test-wasm.bash

13 lines
227 B
Bash
Raw 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.
2024-03-26 22:08:27 +00:00
wasm-pack test --node -- --features nightly,deny-unknown