Commit 8002bf11 authored by Chunchi Che's avatar Chunchi Che

Merge branch 'optimize/ci' into 'main'

Optimize/ci

See merge request mycard/Neos!10
parents 573f22bb 424eacd1
Pipeline #17520 passed with stages
in 2 minutes and 18 seconds
stages:
- install
- lint
- build
- test
- build
- 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:
extends: .build_base
stage: lint
tags:
- linux
script: npm run lint
npm_build:
extends: .build_base
stage: build
tags:
- linux
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