# This file is a template, and might need editing before it works on your project. # Official framework image. Look for the different tagged releases at: # https://hub.docker.com/r/library/node/tags/ image: node:latest before_script: - npm install # This folder is cached between builds # http://docs.gitlab.com/ce/ci/yaml/README.html#cache cache: paths: - node_modules/ test_async: script: - npm run localpublish # - node ./specs/start.js ./specs/async.spec.js #publish: # stage: production # type: deploy # only: # - master # script: # - npm run build # - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc # - npm publish