← Каталог
Использование Git и GitFlow в DevOps-процессах — Конфигурация
Фрагмент из «Использование Git и GitFlow в DevOps-процессах»: Конфигурация.
stages:
- build
- test
- deploy
build_job:
stage: build
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
test_job:
stage: test
script:
- npm test
needs: ["build_job"] stages:
- build
- test
- deploy
build_job:
stage: build
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
test_job:
stage: test
script:
- npm test
needs: ["build_job"]