chore(nestjs) add scripts directory

This commit is contained in:
Kamil Myśliwiec
2018-10-03 17:23:36 +02:00
parent 3a74c790bf
commit f8ffc2d064
5 changed files with 36 additions and 24 deletions

View File

@@ -0,0 +1,8 @@
# 1. Build fresh packages and move them integration dit
npm run build &>/dev/null
# 2. Start docker containers to perform integration tests
cd integration && docker-compose up -d
# 3. Run integration tests
npm run integration-test

View File

@@ -1,2 +1,3 @@
# Run both unit and integration tests
npm run test
npm run integration-test