diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:16:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:28:33 +0100 |
commit | b969539c838ae3012d7a7040c5e310bb9c834e95 (patch) | |
tree | 821495c8457b19f5595c73e5778e30f6bc6a6cc7 /scripts/ci.sh | |
parent | 499be42ca2e03d73fef2f9501d121d830137bd6b (diff) | |
download | PeerTube-b969539c838ae3012d7a7040c5e310bb9c834e95.tar.gz PeerTube-b969539c838ae3012d7a7040c5e310bb9c834e95.tar.zst PeerTube-b969539c838ae3012d7a7040c5e310bb9c834e95.zip |
Fix types dist paths
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index a628cbced..070a104cc 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -40,7 +40,10 @@ findTestFiles () { | |||
40 | find $1 -type f -name "*.js" $exception | xargs echo | 40 | find $1 -type f -name "*.js" $exception | xargs echo |
41 | } | 41 | } |
42 | 42 | ||
43 | if [ "$1" = "client" ]; then | 43 | if [ "$1" = "types" ]; then |
44 | npm run generate-types-package | ||
45 | npm run tsc -- --noEmit --esModuleInterop types/tests/test.ts | ||
46 | elif [ "$1" = "client" ]; then | ||
44 | npm run build | 47 | npm run build |
45 | 48 | ||
46 | feedsFiles=$(findTestFiles ./dist/server/tests/feeds) | 49 | feedsFiles=$(findTestFiles ./dist/server/tests/feeds) |