Run the server in before_script

This commit is contained in:
Trevor Blades
2018-11-01 13:41:02 -07:00
parent a388da0600
commit 1e77d13e98

View File

@@ -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