22 lines
339 B
Bash
22 lines
339 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
docker --version
|
||
|
docker-compose --version
|
||
|
|
||
|
# Run unit tests
|
||
|
grunt test
|
||
|
|
||
|
# Build the app from Typescript and package
|
||
|
grunt build-dist
|
||
|
|
||
|
# Run integration tests
|
||
|
./scripts/run-int-test.sh
|
||
|
|
||
|
# Test staging environment
|
||
|
./scripts/run-staging.sh
|
||
|
|
||
|
# Test npm deployment before actual deployment
|
||
|
./scripts/npm-deployment-test.sh
|