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:
|
||||
directories:
|
||||
- node_modules
|
||||
after_success:
|
||||
- node -r esm index.js
|
||||
- npx apollo schema:check --endpoint=http://localhost:$PORT
|
||||
before_script: node -r esm index.js &
|
||||
after_success: npx apollo schema:check --endpoint=http://localhost:$PORT
|
||||
|
||||
Reference in New Issue
Block a user