aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci.sh5
-rwxr-xr-xscripts/release.sh2
-rwxr-xr-xscripts/test.sh1
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
43if [ "$1" = "client" ]; then 43if [ "$1" = "types" ]; then
44 npm run generate-types-package
45 npm run tsc -- --noEmit --esModuleInterop types/tests/test.ts
46elif [ "$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
123npm run generate-types-package 123npm run generate-types-package
124cd types 124cd types/dist
125npm publish --access public 125npm 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
3set -eu 3set -eu
4 4
5npm run ci -- types
5npm run ci -- client 6npm run ci -- client
6npm run ci -- cli-plugin 7npm run ci -- cli-plugin
7npm run ci -- api-1 8npm run ci -- api-1