node-eventstore-client/build-and-test.sh

12 lines
147 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
if [[ -d /var/code/src ]]; then
cp -R /var/code/{src,test,*.js,*.json} .
fi
npm i
npm run build
npm run test-debug