Fix build pipeline
This commit is contained in:
+6
-6
@@ -12,31 +12,31 @@ cache:
|
||||
- node_modules/
|
||||
|
||||
setup:
|
||||
image: node:7.10.0
|
||||
image: node
|
||||
stage: setup
|
||||
script:
|
||||
- npm install
|
||||
|
||||
# test:unit:
|
||||
# image: node:7.10.0
|
||||
# image: node
|
||||
# stage: test
|
||||
# script:
|
||||
# - npm run test:unit
|
||||
|
||||
# test:e2e:
|
||||
# image: node:7.10.0
|
||||
# image: node
|
||||
# stage: test
|
||||
# script:
|
||||
# - npm run test:e2e
|
||||
|
||||
ts:lint:
|
||||
image: node:7.10.0
|
||||
image: node
|
||||
stage: lint
|
||||
script:
|
||||
- npm run lint:ts
|
||||
|
||||
sass:lint:
|
||||
image: node:7.10.0
|
||||
image: node
|
||||
stage: lint
|
||||
script:
|
||||
- npm run lint:sass
|
||||
@@ -45,7 +45,7 @@ publish:
|
||||
stage: publish
|
||||
image: docker:latest
|
||||
only:
|
||||
- develop
|
||||
- master
|
||||
before_script:
|
||||
- docker info
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $REGISTRY_URL
|
||||
|
||||
Reference in New Issue
Block a user