mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
chore(nestjs) add scripts directory
This commit is contained in:
8
scripts/prepare_tests.sh
Normal file
8
scripts/prepare_tests.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
# 1. Install all dependencies
|
||||
for D in integration/*; do [ -d "${D}" ] && npm i; done
|
||||
|
||||
# 2. Build fresh packages and move them to sample and integration directories
|
||||
npm run build &>/dev/null
|
||||
|
||||
# 3. Start docker containers to perform integration tests
|
||||
cd integration && docker-compose up -d
|
||||
2
scripts/test.sh
Normal file
2
scripts/test.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
npm run test
|
||||
npm run integration-test
|
||||
Reference in New Issue
Block a user