X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fci.sh;h=7854d88fc7b78131c69392cb3dff4f8d6f754106;hb=ba11402435a709c2279411704611f94c5bef51fc;hp=aea009d9f48a795905006159b31d50326cee60da;hpb=a30a136c9896c656cab98d2c92cde32c534dc098;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/ci.sh b/scripts/ci.sh index aea009d9f..7854d88fc 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -34,6 +34,9 @@ elif [ "$1" = "api-3" ]; then elif [ "$1" = "api-4" ]; then npm run build:server sh ./server/tests/api/ci-4.sh 2 +elif [ "$1" = "external-plugins" ]; then + npm run build:server + mocha --timeout 5000 --exit --require ts-node/register --require tsconfig-paths/register --bail server/tests/external-plugins/index.ts elif [ "$1" = "lint" ]; then npm run eslint -- --ext .ts "server/**/*.ts" "shared/**/*.ts" npm run swagger-cli -- validate support/doc/api/openapi.yaml