Update build job
This commit is contained in:
+13
-9
@@ -1,38 +1,42 @@
|
|||||||
stages:
|
stages:
|
||||||
|
- setup
|
||||||
# - test
|
# - test
|
||||||
- lint
|
- lint
|
||||||
- publish
|
- publish
|
||||||
- deploy
|
- deploy_dev
|
||||||
|
|
||||||
|
cache:
|
||||||
|
untracked: true
|
||||||
|
key: "$CI_COMMIT_REF_NAME"
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
|
||||||
|
setup:
|
||||||
|
stage: setup
|
||||||
|
script:
|
||||||
|
- npm install
|
||||||
|
|
||||||
# test:unit:
|
# test:unit:
|
||||||
# image: node:7.10.0
|
# image: node:7.10.0
|
||||||
# stage: test
|
# stage: test
|
||||||
# before_script:
|
|
||||||
# - npm install
|
|
||||||
# script:
|
# script:
|
||||||
# - npm run test:unit
|
# - npm run test:unit
|
||||||
|
|
||||||
# test:e2e:
|
# test:e2e:
|
||||||
# image: node:7.10.0
|
# image: node:7.10.0
|
||||||
# stage: test
|
# stage: test
|
||||||
# before_script:
|
|
||||||
# - npm install
|
|
||||||
# script:
|
# script:
|
||||||
# - npm run test:e2e
|
# - npm run test:e2e
|
||||||
|
|
||||||
ts:lint:
|
ts:lint:
|
||||||
image: node:7.10.0
|
image: node:7.10.0
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
|
||||||
- npm install
|
|
||||||
script:
|
script:
|
||||||
- npm run lint:ts
|
- npm run lint:ts
|
||||||
|
|
||||||
sass:lint:
|
sass:lint:
|
||||||
image: node:7.10.0
|
image: node:7.10.0
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
|
||||||
- npm install
|
|
||||||
script:
|
script:
|
||||||
- npm run lint:sass
|
- npm run lint:sass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user