2016-11-22 04:49:53 -08:00
|
|
|
# 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:6
|
|
|
|
|
|
|
|
# This folder is cached between builds
|
|
|
|
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- npm install
|
|
|
|
- npm run unit
|
|
|
|
|
|
|
|
build:
|
|
|
|
script:
|
|
|
|
- npm install
|
2016-11-22 05:04:54 -08:00
|
|
|
- npm run build
|