X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fci.sh;h=7854d88fc7b78131c69392cb3dff4f8d6f754106;hb=ba11402435a709c2279411704611f94c5bef51fc;hp=4063a62418b63be5db1702b71a3bd70b7ef82613;hpb=144c6559eda78aa77a0d54cdecd8befdc056af84;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/ci.sh b/scripts/ci.sh index 4063a6241..7854d88fc 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -34,8 +34,11 @@ 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 tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" + npm run eslint -- --ext .ts "server/**/*.ts" "shared/**/*.ts" npm run swagger-cli -- validate support/doc/api/openapi.yaml ( cd client