X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=3b294b386b56d9d04bf150d569410cd373e72d39;hb=81bd40d2cb563a4c1c7be9c2b17e37fc04bfff6a;hp=6e8e38659ea67f6557212e8526547cff35747e14;hpb=ba0f8806bce5379d7ba46b70f73d50631c570b8b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index 6e8e38659..3b294b386 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,10 +1,15 @@ -#!/usr/bin/env sh +#!/bin/sh -npm run build:server +set -eu -cd client || exit -1 -npm test || exit -1 +npm run ci -- types +npm run ci -- client +npm run ci -- cli-plugin +npm run ci -- api-1 +npm run ci -- api-2 +npm run ci -- api-3 +npm run ci -- api-4 +npm run ci -- api-5 +npm run ci -- external-plugins -cd .. || exit -1 -npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts server/**/*.ts || exit -1 -mocha --bail server/tests +npm run ci -- lint