mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
Run the server in before_script
This commit is contained in:
@@ -3,6 +3,5 @@ node_js: 8
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
after_success:
|
before_script: node -r esm index.js &
|
||||||
- node -r esm index.js
|
after_success: npx apollo schema:check --endpoint=http://localhost:$PORT
|
||||||
- npx apollo schema:check --endpoint=http://localhost:$PORT
|
|
||||||
|
|||||||
Reference in New Issue
Block a user