diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci.sh | 5 | ||||
-rwxr-xr-x | scripts/release.sh | 2 | ||||
-rwxr-xr-x | scripts/test.sh | 1 |
3 files changed, 6 insertions, 2 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) |
diff --git a/scripts/release.sh b/scripts/release.sh index 7681de90d..409a52977 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -121,5 +121,5 @@ rm -f "./client/dist/embed-stats.json" | |||
121 | 121 | ||
122 | # Release types package | 122 | # Release types package |
123 | npm run generate-types-package | 123 | npm run generate-types-package |
124 | cd types | 124 | cd types/dist |
125 | npm publish --access public | 125 | npm publish --access public |
diff --git a/scripts/test.sh b/scripts/test.sh index 2dc79c6ce..4d1d8720a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | npm run ci -- types | ||
5 | npm run ci -- client | 6 | npm run ci -- client |
6 | npm run ci -- cli-plugin | 7 | npm run ci -- cli-plugin |
7 | npm run ci -- api-1 | 8 | npm run ci -- api-1 |