PeerTube/scripts/test.sh

11 lines
160 B
Bash
Executable File

#!/bin/sh
set -eu
npm run build:server
npm run setup:cli
npm run ci -- lint
mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts