X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Ftest.sh;h=4d1d8720a68f5866ba9896ee9f973381dba2e57b;hb=cbe2f36d93c779ca08424336be7e3988e57be01d;hp=6c6312d5268009446417f9ac3c3d97184bcbdd26;hpb=6fcd19ba737f1f5614a56c6925adb882dea43b8d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/test.sh b/scripts/test.sh index 6c6312d52..4d1d8720a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,10 +1,14 @@ -#!/bin/bash +#!/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 -- 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