fox-fe/.gitlab-ci.yml

31 lines
473 B
YAML
Raw Normal View History

2016-11-22 12:49:53 +00: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/
2017-02-16 12:44:09 +00:00
image: node:7
2016-11-22 12:49:53 +00:00
2017-03-01 19:42:45 +00:00
stages:
2017-03-09 07:58:17 +00:00
- lint
2017-03-01 19:42:45 +00:00
- build
- test
2017-03-09 07:58:17 +00:00
lint:
stage: lint
script:
- yarn
- npm run lint
2016-11-22 12:49:53 +00:00
test:
2017-03-01 19:46:07 +00:00
stage: test
2016-11-22 12:49:53 +00:00
script:
2017-02-16 12:48:36 +00:00
- yarn
2016-11-22 12:49:53 +00:00
- npm run unit
2017-02-18 20:26:17 +00:00
2016-11-22 12:49:53 +00:00
build:
2017-03-01 19:46:07 +00:00
stage: build
2016-11-22 12:49:53 +00:00
script:
2017-02-16 12:48:36 +00:00
- yarn
2016-11-22 13:04:54 +00:00
- npm run build
2016-12-08 14:55:12 +00:00
artifacts:
paths:
- dist/