jxtxzzw-GitLab

Skip to content
Snippets Groups Projects
Commit af5a407f authored by jxtxzzw's avatar jxtxzzw
Browse files

更新.gitlab-ci.yml

parent d1f3897c
Branches master
No related tags found
No related merge requests found
Pipeline #20 passed
image: node:latest
include:
- template: Code-Quality.gitlab-ci.yml
stages:
- build
- test
cache:
paths:
......@@ -15,28 +11,8 @@ install_dependencies:
stage: .pre
script:
- npm install
- npm install standard mocha istanbul
build:
stage: build
script:
- npm run build
# artifacts:
# paths:
# - dist/
test:
stage: test
script:
- npm test
code_quality:
variables:
CODE_QUALITY_IMAGE: "registry.gitlab.com/gitlab-org/ci-cd/codequality:latest"
artifacts:
paths: [gl-code-quality-report.json]
# coverage:
# stage: test
# script:
# - ./node_modules/.bin/istanbul cover _mocha
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment