image: node:6.10 before_script: - npm set registry http://npm.xlr8.link - npm install -q stages: - test - deploy run_tests: stage: test script: - npm test release: stage: deploy script: - echo Running release - npm run ci-publish || true