25 lines
381 B
Bash
Executable File
25 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
docker --version
|
|
docker-compose --version
|
|
|
|
# Run unit tests
|
|
grunt test
|
|
|
|
# Build the app from Typescript and package
|
|
grunt build-dist
|
|
|
|
echo "The files are:"
|
|
ls
|
|
|
|
echo "--- Packing npm package into a tarball"
|
|
npm pack
|
|
|
|
# Run integration/example tests
|
|
./scripts/integration-tests.sh
|
|
|
|
# Test npm deployment before actual deployment
|
|
./scripts/npm-deployment-test.sh
|