ci.
This commit is contained in:
parent
362b6200c5
commit
31fc11ef00
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# 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
|
||||||
|
- node_modules/webpack/bin/webpack.js
|
Loading…
Reference in a new issue