title: Gitlab CI: jobs config should contain at least one visible job
body: <p>i have started to build my .gitlab-ci.yml on Gitlab CI so i created it with simple stages like this</p>
  
  <pre><code>image: node:alpine
  
  variables:
    PUBLIC_URL: /my-app
  
  cache:
    paths:
      - node_modules
  
  stages:
    - build
    - deploy
  
  install_dependencies:
    stage: build
    script:
      - npm install
    artifacts:
      paths:
        - node_modules/
  
  deploy_to_cloud:
    stage: deploy
    script:
      - echo Deployed
  </code></pre>
  
  <p>but job failed and responded with:
  Found errors in your .gitlab-ci.yml:</p>
  
  <p>"jobs config should contain at least one visible job"</p>