Commit 606729c7 authored by Chunchi Che's avatar Chunchi Che Committed by WANG HE

udpate ci

parent cb4fd0fb
stages: stages:
- install
- lint - lint
- build
- test - test
- build
- deploy - deploy
before_script: npm_ci:
- npm ci stage: install
tags:
- linux
script: npm ci
artifacts:
paths:
- node_modules
.build_base:
tags:
- linux
dependencies:
- npm_ci
npm_lint: npm_lint:
extens: build
stage: lint stage: lint
tags: tags:
- linux - linux
script: npm run lint script: npm run lint
npm_build: npm_build:
extens: .build_base
stage: build stage: build
tags: tags:
- linux - linux
script: npm run build script: npm run build
# npm_test:
# stage: test
# tags:
# - linux
# script: npm run test
# dependencies:
# - npm_build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment