20 lines
390 B
Bash
Executable File
20 lines
390 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# setup environment
|
|
sh -c "$(curl -sSfL https://release.solana.com/edge/install)"
|
|
PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
|
|
solana --version
|
|
|
|
# build and test
|
|
npm install
|
|
npm run build
|
|
ls -l lib
|
|
test -r lib/index.iife.js
|
|
test -r lib/index.cjs.js
|
|
test -r lib/index.esm.js
|
|
npm run ok
|
|
npm run codecov
|
|
npm run test:live-with-test-validator
|