Update build job

This commit is contained in:
Aarni Halinen
2018-07-25 11:34:45 +03:00
parent b2f5ebb821
commit 41c6ecdb1c
+13 -9
View File
@@ -1,38 +1,42 @@
stages:
- setup
# - test
- lint
- publish
- deploy
- deploy_dev
cache:
untracked: true
key: "$CI_COMMIT_REF_NAME"
paths:
- node_modules/
setup:
stage: setup
script:
- npm install
# test:unit:
# image: node:7.10.0
# stage: test
# before_script:
# - npm install
# script:
# - npm run test:unit
# test:e2e:
# image: node:7.10.0
# stage: test
# before_script:
# - npm install
# script:
# - npm run test:e2e
ts:lint:
image: node:7.10.0
stage: lint
before_script:
- npm install
script:
- npm run lint:ts
sass:lint:
image: node:7.10.0
stage: lint
before_script:
- npm install
script:
- npm run lint:sass