]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/test.sh
Fix CI
[github/Chocobozzz/PeerTube.git] / scripts / test.sh
index dc1baf97dfc19bb1b13b0439a26dd705ff636028..3b294b386b56d9d04bf150d569410cd373e72d39 100755 (executable)
@@ -1,10 +1,15 @@
-#!/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 -- 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 --exit --require ts-node/register --bail server/tests/index.ts
+npm run ci -- lint