Explorar o código

Add a local publish test

Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
eb40f013d1
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      scripts/travis_script.sh

+ 7 - 0
scripts/travis_script.sh

@@ -32,6 +32,13 @@ if [[ $GROUP == tests ]]; then
     npm install -g postcss-cli
     postcss jupyterlab/build/*.css > /dev/null
 
+    # Run the publish script in jupyterlab
+    cd jupyterlab
+    npm run publish
+
+    if [ ! -f ./build/release_data.json ]; then
+        echo "npm publish in jupyterlab unsucessful!"
+    fi
 fi