-#!/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 --bail server/tests
+npm run ci -- lint