This obviates the need to start/stop a web-server for each package test and paves the way to something we'll need later.
12 lines
184 B
Bash
12 lines
184 B
Bash
#!/bin/sh
|
|
|
|
docker-compose up --detach test-web
|
|
|
|
nodejs node_modules/lerna/bin/lerna.js run pre-commit \
|
|
&& npm run check_code_format
|
|
EXIT=$?
|
|
|
|
docker-compose stop test-web
|
|
|
|
exit $EXIT
|