diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-14 13:48:13 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-12-16 10:08:43 +0100 |
commit | 9b3294a8496c89c7880054de1f1f09c9990f1b46 (patch) | |
tree | 4c3271417505ee81c36b1ac23fc2829e5aad432a /scripts/ci.sh | |
parent | 75278e289067977291baa7e2ac217e85fc7d6088 (diff) | |
download | PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.gz PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.tar.zst PeerTube-9b3294a8496c89c7880054de1f1f09c9990f1b46.zip |
Fix some build scripts and lint
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index a628cbced..7ad6f38e9 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -98,6 +98,8 @@ elif [ "$1" = "external-plugins" ]; then | |||
98 | 98 | ||
99 | runTest "$1" 1 $externalPluginsFiles | 99 | runTest "$1" 1 $externalPluginsFiles |
100 | elif [ "$1" = "lint" ]; then | 100 | elif [ "$1" = "lint" ]; then |
101 | npm run build:server | ||
102 | |||
101 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" | 103 | npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" |
102 | npm run swagger-cli -- validate support/doc/api/openapi.yaml | 104 | npm run swagger-cli -- validate support/doc/api/openapi.yaml |
103 | 105 | ||